• 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: Finlay Dobbie <email@hidden>
  • Date: Tue, 13 Sep 2005 12:28:00 +0100

On 13/09/05, Andrew Farmer <email@hidden> wrote:
> Incidentally, don't depend on messages to nil objects returning nil.
> Apple has stated that messages to nil will have undefined results
> (including crashes) on the x86.

No they haven't. The rules are exactly the same on x86: you can rely
on a message to nil returning nil. You cannot rely on the results for
a non-id sized type, especially floats and structs.

 -- Finlay
 _______________________________________________
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

  • Follow-Ups:
    • Re: Question about floatValue on nil object
      • From: Finlay Dobbie <email@hidden>
References: 
 >Question about floatValue on nil object (From: MichaĆ«l Parrot <email@hidden>)
 >Re: Question about floatValue on nil object (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: Why NSWindowController for non-document windows?
  • Next by Date: Modifying NSMutableArray controlled by NSArrayController
  • Previous by thread: Re: Question about floatValue on nil object
  • Next by thread: Re: Question about floatValue on nil object
  • Index(es):
    • Date
    • Thread