Re: NSAssert and Unused Variable

2008-04-02 Thread John Newlin
It seems that even in release builds you should be checking the error code, otherwise foo() should just return void since you assume it can't fail in release builds, and instead foo() should have the assert internally. -john On Wednesday, April 02, 2008, at 05:04PM, Richard Somers [EMAIL

iPhone SDK question

2008-03-07 Thread John Newlin
Ok, I realize this is not a Cocoa question, please don't flog me. Hopefully they'll make an iPhone mailing list.. Anyhow, has anyone been able to run an app on a device yet, I get an error message when I try to load my app onto the phone. The simulator works fine. Thanks, -john