• 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: BOOL attribute types.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BOOL attribute types.


  • Subject: Re: BOOL attribute types.
  • From: Alex Zavatone <email@hidden>
  • Date: Wed, 18 Feb 2015 13:58:32 -0500

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 <email@hidden> wrote:

> 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


  • Follow-Ups:
    • Re: BOOL attribute types.
      • From: Scott Ribe <email@hidden>
References: 
 >BOOL attribute types. (From: Alex Zavatone <email@hidden>)
 >Re: BOOL attribute types. (From: David Duncan <email@hidden>)
 >Re: BOOL attribute types. (From: Alex Zavatone <email@hidden>)
 >Re: BOOL attribute types. (From: Akis Kesoglou <email@hidden>)
 >Re: BOOL attribute types. (From: Jens Alfke <email@hidden>)
 >Re: BOOL attribute types. (From: Alex Zavatone <email@hidden>)
 >Re: BOOL attribute types. (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: BOOL attribute types.
  • Next by Date: Re: BOOL attribute types.
  • Previous by thread: Re: BOOL attribute types.
  • Next by thread: Re: BOOL attribute types.
  • Index(es):
    • Date
    • Thread