• 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 madness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BOOL madness


  • Subject: Re: BOOL madness
  • From: Rob Keniger <email@hidden>
  • Date: Wed, 12 Nov 2008 11:11:42 +1000


On 12/11/2008, at 11:08 AM, Andre Masse wrote:

I'm having trouble converting an object to a BOOL. In my window controller, I'm observing the model keyPath isDirty which is a BOOL.


BOOL is not an object type. You need to use [myObject boolValue] to get a BOOL.

--
Rob Keniger



_______________________________________________

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 madness
      • From: Andre Masse <email@hidden>
References: 
 >BOOL madness (From: Andre Masse <email@hidden>)

  • Prev by Date: BOOL madness
  • Next by Date: Re: A bit of a dumb question, but I need to know...
  • Previous by thread: BOOL madness
  • Next by thread: Re: BOOL madness
  • Index(es):
    • Date
    • Thread