• 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: Question about floatValue on nil object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about floatValue on nil object


  • Subject: Re: Question about floatValue on nil object
  • From: mmalcolm crawford <email@hidden>
  • Date: Wed, 14 Sep 2005 14:29:02 -0700


On Sep 13, 2005, at 2:15 AM, j o a r wrote:

It's a bit unfortunate that these three links doesn't quite tell the same story. Note that the second page allows BOOL, int, pointer, besides object! I've filed a bug report on the documentation to see if they can clarify their position on this topic.

[With thanks to GP]:

The strict position was originally that only `id`-typed return values are defined. In reality, return types with defined values are the following:
* any pointer type
* any integer scalar of size less than or equal to sizeof(void*)


Return types with undefined values include:
* any struct type
* any large integer scalar
* any floating-point type
* any vector type

mmalc

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


References: 
 >Question about floatValue on nil object (From: MichaĆ«l Parrot <email@hidden>)
 >Re: Question about floatValue on nil object (From: Jack Nutting <email@hidden>)
 >Re: Question about floatValue on nil object (From: j o a r <email@hidden>)

  • Prev by Date: Re: NSWindowContoller communication issues
  • Next by Date: Using NSDictionary in datasource
  • Previous by thread: Re: Question about floatValue on nil object
  • Next by thread: Re: Question about floatValue on nil object
  • Index(es):
    • Date
    • Thread