NSNull/NSarray .. count
NSNull/NSarray .. count
- Subject: NSNull/NSarray .. count
- From: arri <email@hidden>
- Date: Fri, 23 Mar 2007 06:23:49 +0100
i'm baffled;
calling this:
NSLog(@"planning-count %d", [[self planning] count]);
..returns the expected count/number in the run-log,
but when doing this on the next line:
int cnt = [[self planning] count];
..the app hangs/quits, spitting this message:
2007-03-23 06:01:30.874 Placid[1265] *** -[NSNull count]: selector
not recognized [self = 0xa0806040]
2007-03-23 06:01:30.874 Placid[1265] An uncaught exception was raised
2007-03-23 06:01:30.874 Placid[1265] *** -[NSNull count]: selector
not recognized [self = 0xa0806040]
2007-03-23 06:01:30.874 Placid[1265] *** Uncaught exception:
<NSInvalidArgumentException> *** -[NSNull count]: selector not
recognized [self = 0xa0806040]
i would really like to get some pointers to what's going on here.
note that this is called from the display-link thread.
thanks
arri
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden