• 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: Block variable syntax related question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Block variable syntax related question


  • Subject: Re: Block variable syntax related question
  • From: Eric Wing <email@hidden>
  • Date: Sat, 10 Sep 2011 14:38:54 -0700

On 9/9/11, Sean McBride <email@hidden> wrote:
> On Fri, 9 Sep 2011 14:47:55 -0700, Jens Alfke said:
>
>>Bit of a tangent, but as C’s had a native ‘bool’ type for a decade+ now,
>>is there some reason Cocoa can’t switch to using it instead of BOOL?
>>Like, make BOOL a typedef for bool? Or would that introduce too many
>>compatibility problems? Or short of that, would there be a problem if an
>>app were to switch to using bool in its own code?
>
> It's a pet peeve of mine. :)  I think about it every time someone says Obj-C
> is a superset of C. :)
>
> My bug is rdar://6510042.  A little birdie told me there are only 6 dupes.
> :(
>


I filed mine before Obj-C 2.0 shipped (10.4 era) and suggested if
32-bit was a problem, they could focus on only 64-bit since there were
no backwards compatibility issues at the time. It is still marked
'Open'.

rdar://4737158

The lack of using a real bool in Cocoa frameworks is also a real pain
for language bridges like Ruby and Lua.

-Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
 _______________________________________________
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

References: 
 >Block variable syntax related question (From: David Hoerl <email@hidden>)
 >Re: Block variable syntax related question (From: Bavarious <email@hidden>)
 >Re: Block variable syntax related question (From: Jens Alfke <email@hidden>)
 >Re: Block variable syntax related question (From: Sean McBride <email@hidden>)

  • Prev by Date: Re: Error on deleting pointer
  • Next by Date: Where is Customize button in Xcode 4.1 installer?
  • Previous by thread: Re: Block variable syntax related question
  • Next by thread: Re: Block variable syntax related question
  • Index(es):
    • Date
    • Thread