• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Weird exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Weird exception (From: Alexander Bokovikov <email@hidden>)
 >Re: Weird exception (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: View Handling
  • Next by Date: Re: View Handling
  • Previous by thread: Re: Weird exception
  • Next by thread: Re: Weird exception
  • Index(es):
    • Date
    • Thread