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

Re: bool, BOOL


  • Subject: Re: bool, BOOL
  • From: David Dunham <email@hidden>
  • Date: Tue, 29 May 2007 09:19:44 -0700

On 29 May 2007, at 08:52, David Harper wrote:

Is there any reason lowercase bool is not considered a keyword in .m files, while it is in headers? Uppercase BOOL is colored in both types of files, but I prefer using lower case.

Probably because headers might be C++ (which has "bool") while .m files are Objective-C (which has no "bool")? Have you tried using .mm so you can use C++ features?


------------
David Dunham email@hidden http://www.pensee.com/dunham/
"No matter how far you have gone on a wrong road, turn back." - Turkish proverb


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: bool, BOOL
      • From: Todd Heberlein <email@hidden>
References: 
 >bool, BOOL (From: David Harper <email@hidden>)

  • Prev by Date: bool, BOOL
  • Next by Date: RE: bool, BOOL
  • Previous by thread: bool, BOOL
  • Next by thread: Re: bool, BOOL
  • Index(es):
    • Date
    • Thread