Re: BOOL attribute types.
Re: BOOL attribute types.
- Subject: Re: BOOL attribute types.
- From: Scott Ribe <email@hidden>
- Date: Wed, 18 Feb 2015 11:29:32 -0700
On Feb 18, 2015, at 11:02 AM, Alex Zavatone <email@hidden> 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
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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