Well, stupid me. You can't have a BOOL with a nil value. Thanks Scott. Sent from my iPad. Please pardon typos.
On Feb 18, 2015, at 1:29 PM, Scott Ribe <scott_r...@elevated-dev.com> wrote: > On Feb 18, 2015, at 11:02 AM, Alex Zavatone <z...@mac.com> wrote: >> >> In creating an autoDescription method for objects, it's important to know if >> our BOOLs are NO or nil. > > ??? > > It's a char, not a pointer, simply an integer type. Nil is 0, NO is 0, assign > 0 to an integer, you have 0. > > -- > Scott Ribe > scott_r...@elevated-dev.com > http://www.elevated-dev.com/ > (303) 722-0567 voice > > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com