On 22 Jan 09, at 14:38, Chris Benedict wrote:
First, I'm pretty new to Mac OS X programming so please bear with my
ignorance.
I was hoping to get a bit of quick advice. I'm wanting to write a
little application that will kind of put my MacBook in a lock down
mode of sorts. It would need
On 23 Jan 2009, at 05:05, Michael Ash wrote:
On Thu, Jan 22, 2009 at 10:15 PM, Joe Turner joetur...@me.com wrote:
On Jan 22, 2009, at 4:57 PM, Nick Zitzmann wrote:
On Jan 22, 2009, at 4:09 PM, Joe Turner wrote:
I see. Then, how would you suggest to create a cloner/deleter, if
it
needs
Bill, Rob -
Thanks for the replies, and sorry I missed this in the archives.
I have googled about such problems, but did not come up with
anything. Is there a known issue with images and buttons under GC?
Sounds odd.Please file a bug, attaching the application (binary
is good enough
On Jan 22, 2009, at 11:03 PM, Jim Correia wrote:
I don't know why you are running into this problem. Chances are
others might not know either. This is not a sanctioned/supported use
of AEWP.
In other words, if the answer to the problem is to (repeatedly) call
rm, cp, mv or chmod via AEWP,
Hi,
Is there some sample code anywhere that renders (e.g. applies the
mask etc.) an Icon from a .icns file at a given resolution? I'd then
like to be able to save the rendered image as a JPEG file.
If anyone knows of some sample code to get me going or can point me
to the best starting
I am starting up a project on Google Code to hopefully create a first
class open source Cocoa plotting framework for Mac and iPhone.
There is quite a lot of interest this time around, so I think the
chance of success is very good. And, of course, we welcome other cocoa
developers with open
Le 23 janv. 09 à 14:29, Dave a écrit :
Hi,
Is there some sample code anywhere that renders (e.g. applies the
mask etc.) an Icon from a .icns file at a given resolution? I'd then
like to be able to save the rendered image as a JPEG file.
If anyone knows of some sample code to get me
I would like to:
1) Encrypt/Encode a SQLite DB file from the command line (or via an
application) and
2) De-Encrypt/Decode the same SQLite DB from within Cocoa/iPhone via a key of
some sort.
Scenario:
I'm developing a game using data values stored within a SQLite DB file. I
don't want
Le 23 janv. 09 à 16:10, fc...@dialup4less.com a écrit :
I would like to:
1) Encrypt/Encode a SQLite DB file from the command line (or via an
application) and
2) De-Encrypt/Decode the same SQLite DB from within Cocoa/iPhone via
a key of some sort.
Scenario:
I'm developing a game using
On Jan 23, 2009, at 7:10 AM, fc...@dialup4less.com wrote:
I would like to:
1) Encrypt/Encode a SQLite DB file from the command line (or via an
application) and
2) De-Encrypt/Decode the same SQLite DB from within Cocoa/iPhone via
a key of some sort.
Scenario:
I'm developing a game using
On Mon, Jan 12, 2009 at 04:03:10PM -0500, David H. Silber wrote:
1) Is there not any way to test the connections set up in the nib
owned by the application? In particular, the menus.
As things stand, I still end up with a bunch of untestable code.
I was able to test the connections set
On Fri, Jan 23, 2009 at 10:10 AM, fc...@dialup4less.com wrote:
I would like to:
1) Encrypt/Encode a SQLite DB file from the command line (or via an
application) and
2) De-Encrypt/Decode the same SQLite DB from within Cocoa/iPhone via a key of
some sort.
Scenario:
I'm developing a game
On 1/22/09 3:00 PM, Ben Trumbull said:
This happens when I close a window in my app, but only if I close it
_very_ soon after it is opened. If I leave the window open for a few
100 ms then there is no problem. My app is garbage collected. The
exception is happening after windowWillClose.
On Thu, Jan 22, 2009 at 2:43 PM, Greg Parker gpar...@apple.com wrote:
On Jan 22, 2009, at 2:15 PM, Sean McBride wrote:
On 1/22/09 2:11 PM, Alexander Heinz said:
*** -[Not A Type release]: message sent to deallocated instance
0xe412b30
This doesn't tell me what kind of object is sent the
Hi Jean,
On 23 Jan 2009, at 13:56, Jean-Daniel Dupas wrote:
An icns file can be opened using NSImage methods.
Then choose the representation you need and convert it to JPEG as
you would do with any image.
If you want to go the hard way (that is not that hard):
Use ReadIconFromFSRef() to
Environment: iPhone
I'm particularly concerned with 'data viewing'.
Think of the data as answers to a quiz. I worry that some
hacker could copy distribute the data (rules) on the internet, and in essence,
cheat the game.
Being that ... iPhone is far more restrictive towards tampering...,
Is
This is within an iPhone environment, where the entire game logic rules
are stored within the application bundle.
We're using SQLite as the preferred storage 'bin'. But I don't want
hackers peek inside and spoil the game.
I figured that I could encode the SQLite DB file via my MacBook Pro
Hi,
Why not just en/de-crpyt the data as it is written/read to/from the
database?
All the Best
Dave
On 23 Jan 2009, at 16:46, fc...@dialup4less.com wrote:
This is within an iPhone environment, where the entire game logic
rules
are stored within the application bundle.
We're using
I'm using the following code to create an animated sliding SplitView
using an NSButton to toggle whether the split view is *up* and you can
see the lower split view, or *down* and the lower split view is
hidden. Here's the code:
- (IBAction)toggleVariables:(id)sender
{
NSSize newSize
Hello -
I am trying to get my simulator to work with sqlite and was wondering
if I was missing some step?
Here is a snippet of code:
- (void)initializeDatabase {
NSMutableArray *items = [[NSMutableArray alloc] init];
self.produceItems = items;
[items release];
Le 23 janv. 09 à 17:34, Dave a écrit :
Hi Jean,
On 23 Jan 2009, at 13:56, Jean-Daniel Dupas wrote:
An icns file can be opened using NSImage methods.
Then choose the representation you need and convert it to JPEG as
you would do with any image.
If you want to go the hard way (that is not
Le 23 janv. 09 à 17:41, fc...@dialup4less.com a écrit :
Environment: iPhone
I'm particularly concerned with 'data viewing'.
Think of the data as answers to a quiz. I worry that some
hacker could copy distribute the data (rules) on the internet, and
in essence,
cheat the game.
Being
On Jan 23, 2009, at 10:30 AM, James Cicenia wrote:
- (void)initializeDatabase {
NSMutableArray *items = [[NSMutableArray alloc] init];
self.produceItems = items;
[items release];
// The database is stored in the application bundle.
NSArray *paths =
On Jan 23, 2009, at 9:41 AM, fc...@dialup4less.com wrote:
Environment: iPhone
I'm particularly concerned with 'data viewing'.
Think of the data as answers to a quiz. I worry that some
hacker could copy distribute the data (rules) on the internet, and
in essence,
cheat the game.
Being
Hmmm,,, newbie here..
Where is the sandbox?
Thanks
James
On Jan 23, 2009, at 11:39 AM, Keary Suska wrote:
On Jan 23, 2009, at 10:30 AM, James Cicenia wrote:
- (void)initializeDatabase {
NSMutableArray *items = [[NSMutableArray alloc] init];
self.produceItems = items;
On Jan 23, 2009, at 9:52 AM, James Cicenia wrote:
Where is the sandbox?
http://developer.apple.com/iphone/library/codinghowtos/DataManagement/index.html#FILE_MANAGEMENT-WRITE_INFORMATION_LOCALLY
mmalc
___
Cocoa-dev mailing list
thanks
On Jan 23, 2009, at 11:59 AM, mmalc Crawford wrote:
On Jan 23, 2009, at 9:52 AM, James Cicenia wrote:
Where is the sandbox?
http://developer.apple.com/iphone/library/codinghowtos/DataManagement/index.html#FILE_MANAGEMENT-WRITE_INFORMATION_LOCALLY
mmalc
Hmmm,,,
OK I read the docs a bit.. and now I am confused. This code snippet
was basically copied and pasted from the sqlbook example.
It works when I run it in the simulator.
Mine .. .does get past the open database, but doesn't really get past
the select.
I also don't quite understand
As I recall, this sample code does exactly what you want:
http://developer.apple.com/samplecode/Reducer/
I haven't looked at it for a while, so I may be mistaken.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
My app, developed on 10.5 but targeted at 10.3.9 and above, contains
the following code:
NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];
[formatter setFormat:@#0;#0;#0];
It compiles without warnings.
When running on 10.3.9 it crashes with EXC_BAD_ACCESS in -
I would REALLY recommend using some sort of wrapper class for sqlite,
instead of using the functions yourself. Why put yourself through the
pain when someone else already has?
Here are the ones I would recommend:
http://th30z.netsons.org/2008/11/objective-c-sqlite-wrapper/
Hi,
Is there any way to make CrashReporter show stack frame content and
line numbers instead of signatures and offsets? Maybe a way to make
gdb automatically attach to crashing processes and do a t a a bt f
on them?
Thanks,
jules
___
Hi Jean,
Thank you so much for your help. I've almost got the code in place
now. But please see below.
On 23 Jan 2009, at 17:33, Jean-Daniel Dupas wrote:
Also at this point, I'd like to get a pointer to the Pixel buffer
in the CGContext and return this. The code I already have will
On Jan 22, 2009, at 1:54 PM, Kyle Sluder wrote:
On Thu, Jan 22, 2009 at 11:53 AM, Timothy Reaves
trea...@silverfieldstech.com wrote:
There are a number of reasons to use Log4Cocoa over something
like
ASL. The fact that it already supports Obj-C is the least of them.
* It supports
It already does it if debug symbols are available.
For example:
3 libnspr.4.dylib 0x00090636 PR_CreateFileMap + 0
(prmmap.c:52)
4 libnss.3.dylib 0x002b9601
PK11_GetInternalKeySlot + 74 (pk11slot.c:1659)
5 org.shadowlab.MyLibrary 0x00052b5f
Le 23 janv. 09 à 19:53, Dave a écrit :
Hi Jean,
Thank you so much for your help. I've almost got the code in place
now. But please see below.
On 23 Jan 2009, at 17:33, Jean-Daniel Dupas wrote:
Also at this point, I'd like to get a pointer to the Pixel buffer
in the CGContext and
Thanks so much for the responses! Indeed calling
nextEventMatchingMask... and sending the event manually worked.
Interesting info about the event loop being separate from (but linked
to) the runloop.
Thanks again -- this was a lifesaver :)
On Jan 22, 2009, at 9:02 PM, Michael Ash wrote:
Hello list,
I implemented autosaving via -setAutosavingDelay call of
NSDocumentController. I placed checkbox that allows to enable or
disable autosaving in preferences and now think about removing this
checkbox and leave autosaving enabled forever. Will I have any
problems in that case? Maybe in
At Thu, 22 Jan 2009 23:13:45 +, Benjamin Dobson wrote:
On 22 Jan 2009, at 22:52:56, kvic...@pobox.com wrote:
in anticipation of the deprecation of NSCaledarDate, i am in the
process of converting my app to use NSDate and friends. and while
the process is mostly straightforward and not
This doesn't answer the original question, but I believe it is pertinent to
this thread.
It is also possible to log from within Xcode, something I hadn't realized until
I saw the video of an excellent talk Joar Wingfors gave at a Silicon Valley
Cocoaheads.
Joel
Also consider the iPhone backup with iTunes onto the Mac. Not sure how
difficult those archives are to crack, or whether any attempt has even
been made to prevent it.
Not difficult at all. There are utilities to do this, to allow users to
extract files and email them to devs for debug
Yes, that is my thought too. Now I just have to wait for a crash ;-)
And that's why my app contains this gem:
- (IBAction) crashNow: (id) sender
{ *(char*)0=0; }
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
Hi,
suppose I have a class with a private member as listed at the end of
this email.
Then I can access it by calling its name without an accessor function
(which would de facto make it public).
But how do I access a private member of another object of the same
class?
Or does
Randall,
snip
How can I tell NSTextView to use a front or middle ellipses for
viewing
purposes?
You'll have to set a (mutable) paragraph style, and specify
NSLineBreakByTruncatingHead or NSLineBreakByTruncatingMiddle for the
NSLineBreakMode using -setLineBreakMode:.
Thanks a bunch! The
Hi,
is there any way to get the caution icon badged with the application
icon like the NSRunCriticalAlertPanel/NSAlert with critical style uses?
I need to use a higly customized alert panel and would like to use that
big fat yellow exclamation mark.
regards
Felix
I believe that in 10.5, the default formatter behavior is 10.4 instead
of 10.0 (in 10.4 the default behavior was still 10.0). Check out:
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DataFormatting/DataFormatting.html
Neil
On Jan 23, 2009, at 12:30 PM, Jonathan Fewtrell wrote:
Hi, Folks,
I am new to iphone development. Now I am writing some small application for
study..
I wonder if there is a way I can dynamically set UILabel Position. for
example, based on user's input of the location? (Or dynamically set the
position an control which will display some text message,
hi
I am using a TabBarViewController that had inside 2 Navigation
Controller that have themselves a UIViewController.
I trying hide the tabBar when I am pushing new views using
self.hidesBottomBarWhenPushed = YES;
To be more specific: I create the TabBarViewController using IB and
On 23 Jan 2009, at 13:55, Felix Ulber wrote:
Hi,
is there any way to get the caution icon badged with the application
icon like the NSRunCriticalAlertPanel/NSAlert with critical style
uses?
I need to use a higly customized alert panel and would like to use
that
big fat yellow exclamation
UILabel inherits from UIView and therefore has a frame property. Try
setting the UILabel's frame.
--Andy
On Jan 23, 2009, at 4:37 PM, Zhao Wang wrote:
Hi, Folks,
I am new to iphone development. Now I am writing some small
application for
study..
I wonder if there is a way I can
Hmm, i would subclass NSImage making it sending data to its window.
But...I'm curious to see how others would do this.
Luca C.
Il giorno 23/gen/09, alle ore 10:54, Rahulkumar rahulkumar_tibde...@persistent.co.in
ha scritto:
Hi All,
I can move a Window i.e. a NSWindow object with the
I have gone over the CA docs ... a quick read.
I have an iPhone app that uses the accelerometer to move a puck
around the x,y plane. It filters out the effect of gravity per the
sample code.
I would like to animate two background layers, one rotating cw the
other ccw and use different
On Jan 23, 2009, at 13:01, Horst Jäger wrote:
But how do I access a private member of another object of the same
class?
Like this:
-(int)yoursTooButWithAnother: (PrivateClass *)another {
return another-mineAlone % 3;
}
Also, be careful to keep two things separate in your mind.
On Jan 23, 2009, at 3:01 PM, Horst Jäger wrote:
suppose I have a class with a private member as listed at the end of
this email.
Then I can access it by calling its name without an accessor
function (which would de facto make it public).
But how do I access a private member of another
Core Animation handles the threading aspects of this automatically.
The introduction should have been clear about it (if not, file a bug
with what was unclear)
On 23-Jan-09, at 5:20 PM, David Blanton wrote:
I have gone over the CA docs ... a quick read.
I have an iPhone app that uses the
What I'm trying to do is to allow users to create files and add those
files into a user support folder so that their other files can inherit
features of that document. Essentially, I'm trying to allow
inheritance in my files.
I was trying to adapt the iClass sample code to work in a
Thank you Scott. I will re-read the introduction ... My speed reading
techniques may have failed me!
On Jan 23, 2009, at 3:26 PM, Scott Anguish wrote:
Core Animation handles the threading aspects of this automatically.
The introduction should have been clear about it (if not, file a
bug
since NSCalendarDate is a subclass of NSDate, using an
NSCalendarDate method on an NSDate object is perfectly legal at
compile time
This should raise a compiler warning.
What you mean is that calling an NSDate method on an instance of
NSCalendarDate is perfectly legal; however calling a
if (sqlite3_open([path UTF8String], database) == SQLITE_OK)
Don't use UTF8String to get a C string for a file system path, you
should use -fileSystemRepresentation.
Keith
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Use an NSImageView subclass to draw your image. Put this code in the
subclass:
- (BOOL)mouseDownCanMoveWindow
{
return YES;
}
On 23-Jan-09, at 4:54 AM, Rahulkumar wrote:
Hi All,
I can move a Window i.e. a NSWindow object with the just a simple call
[myWindow
On Jan 23, 2009, at 14:27, Derek Kuhl wrote:
I was trying to adapt the iClass sample code to work in a document-
based form. The iClass example works great if you have the file
saved at runtime, but in documents they aren't saved right away. I
haven't been successful in migrating the
Andy,
It works! Thank you so much! I appreciate the help! :)
Sincerely,
Zhao Wang
On Fri, Jan 23, 2009 at 5:13 PM, Andy Lee ag...@mac.com wrote:
UILabel inherits from UIView and therefore has a frame property. Try
setting the UILabel's frame.
--Andy
On Jan 23, 2009, at 4:37 PM, Zhao
On Jan 23, 2009, at 2:45 PM, kvic...@pobox.com wrote:
At Thu, 22 Jan 2009 23:13:45 +, Benjamin Dobson wrote:
On 22 Jan 2009, at 22:52:56, kvic...@pobox.com wrote:
in anticipation of the deprecation of NSCaledarDate, i am in the
process of converting my app to use NSDate and friends.
Hi
I have a custom view that is doing the rendering logic but how can the
view communicate with the Controller owning it?
Do I need to create an outlet in the view to be able to communicate
with the controller?
Thanks
Emmanuel
___
Cocoa-dev
At 6:39 PM -0500 1/23/09, Andy Lee wrote:
On Jan 23, 2009, at 2:45 PM, kvic...@pobox.com wrote:
At Thu, 22 Jan 2009 23:13:45 +, Benjamin Dobson wrote:
On 22 Jan 2009, at 22:52:56, kvic...@pobox.com wrote:
in anticipation of the deprecation of NSCaledarDate, i am in the
process of
I built an ibplugin and framework for a custom control using the ib
plugin programming guide documentation. The plugin works fine. Shows
up in the library. I can drag it to a window, configure with a custom
inspector, etc. When I create an Xcode project and use the control in
a nib
On Fri, Jan 23, 2009 at 2:37 PM, Vitaly Ovchinnikov
vitaly.ovchinni...@gmail.com wrote:
Hello list,
I implemented autosaving via -setAutosavingDelay call of
NSDocumentController. I placed checkbox that allows to enable or
disable autosaving in preferences and now think about removing this
On Fri, Jan 23, 2009 at 11:41 AM, fc...@dialup4less.com wrote:
Environment: iPhone
I'm particularly concerned with 'data viewing'.
Think of the data as answers to a quiz. I worry that some
hacker could copy distribute the data (rules) on the internet, and in
essence,
cheat the game.
I see from searching the archives that there are a small number of
Cocoa developers who are using or have used Pantomime.
I am in the middle of adding it to the next version of SoftRAID,
version 4.0 so I can send out email notifications. I have it mostly
working (with the exception of SSL
Michael, cocoa's embedded autosaving saves to separate file and leave
the main document dirty. It helps only in case of power lost or
software hang. But as it runs in background, some conflicts are
possible. That's what I wanted to know.
On Sat, Jan 24, 2009 at 5:13 AM, Michael Ash
This may be a stupid question, but I've had reason to wonder a number
of times.
If I have an NSArrayController in a nib, bound to a MOC, configured
with an Entity name and set to prepare content:
Is there a way to be notified when it has finished loading and
arranging it's objects?
I am in the middle of adding it to the next version of SoftRAID, version 4.0
so I can send out email notifications. I have it mostly working (with the
exception of SSL support). Does any one else have SSL working reliably?
I did get it working with SSL ...but I switched to (the new)
Okay, so, it seems everyone was right :) I went to cocoabuilder to
find some of the responses to this, that I never got.
Anyways, it seems I can just call AEWP() once, and it should stay suid.
So, my last question to everyone is, how do I know if the tool is
suid. I mean, I could implement
kvic...@pobox.com (kvic...@pobox.com) on 2009-01-22 5:52 PM said:
in anticipation of the deprecation of NSCaledarDate, i am in the
process of converting my app to use NSDate and friends. and while the
process is mostly straightforward and not all that difficult, it is
tedious.
when i think i'm
I want to be sensitive to battery usage in the iPhone.
When calling
AudioServicesPlayAlertSound ( kSystemSoundID_Vibrate );
How much battery does this use? I may be calling this 'alot' in my
application.
David Blanton
___
On Jan 23, 2009, at 2:13 AM, Andrew Farmer wrote:
On 22 Jan 09, at 14:38, Chris Benedict wrote:
First, I'm pretty new to Mac OS X programming so please bear with
my ignorance.
I was hoping to get a bit of quick advice. I'm wanting to write a
little application that will kind of put my
In my Core Data Document-Based application, I have a menu item which
imports settings from a legacy application. For each setting found,
it programatically creates a new document, saves it, and leaves the
new document window open. When all done, the user gets a modal dialog
showing a
On 24 Jan 2009, at 07:26, Chris Benedict wrote:
On Jan 23, 2009, at 2:13 AM, Andrew Farmer wrote:
On 22 Jan 09, at 14:38, Chris Benedict wrote:
First, I'm pretty new to Mac OS X programming so please bear with
my ignorance.
I was hoping to get a bit of quick advice. I'm wanting to
78 matches
Mail list logo