On 3/3/09 11:30 AM, Nick Zitzmann said:
>> NSLog([e description]);
>
>Don't ever do this. NSLog() takes a varargs string, so if there is a %
>in the description, then the app will crash. Instead, do this:
>NSLog(@"%@", e);
The compiler can catch this mistake if you add "-Wformat=2". It will
On Mar 3, 2009, at 4:39 AM, 陈清华 wrote:
I am transferring my application to Snow.
And the first rule of Fight Club is...
Code to invoke:
- (void) applicationDidFinishLaunching:(NSNotification *)aNotification
{
NSError *error = [[NSError alloc] init];
But I don't think I'm violating any N
On Tue, Mar 3, 2009 at 6:39 AM, 陈清华 wrote:
> I am transferring my application to Snow.
You can't discuss Snow Leopard because you've agreed to the NDA.
Anybody else who might be able to help you is similarly bound by this
agreement, so nobody can help you.
--
I.S.
Hi
I am transferring my application to Snow. It is a document application based
on sdk 10.4.
I found it will print this message when invoke [[NSDocumentController
sharedDocumentController] openUntitledDocumentAndDisplay:YES error:nil];
"Unable to parse the format string "(displayFlags == null) || (