Re: Weird exception
Re: Weird exception
- Subject: Re: Weird exception
- From: Alexander Bokovikov <email@hidden>
- Date: Sat, 23 Jan 2010 22:11:47 +0500
On 22.01.2010, at 20:50, Keary Suska wrote:
I would put my money on bindings. It shouldn't be too difficult to
isolate the issue with the debugger.
I've created a category and set a breakpoint within this method. Call
stack leads me to NSApplication applicationWillFinishLaunching method,
but what can I do with it? Really, I'm using this delegate method, but
I don't use any boolValue calls there.
Now I've written this one:
@implementation NSString (MissingMethods)
-(BOOL) boolValue {
return [self value] == @"true";
}
@end
Because debugger shows just "true" value, when this method is called.
I have no idea how to switch between OS versions, because this
category is useless (if not worse) in 10.5+, but it does something
useful in 10.4. I can build release with 10.4 SDK, but it will be not
correct, as I believe.
Any ideas?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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