• 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: Bindings, NSNumber equal to NIL and performing mathematical operations issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings, NSNumber equal to NIL and performing mathematical operations issue


  • Subject: Re: Bindings, NSNumber equal to NIL and performing mathematical operations issue
  • From: Andy Lee <email@hidden>
  • Date: Fri, 6 May 2005 11:37:38 -0400

On May 6, 2005, at 9:34 AM, Clark Cox wrote:
Unless you're expecting an object pointer, or
you're ignoring the return value, do not send messages to nil.

http://www.livejournal.com/community/macosxdev/86254.html

As a matter of style, when I ignore return values (for *whatever* reason) I explicitly cast the return value to void.


--Andy

_______________________________________________
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: 
 >Bindings, NSNumber equal to NIL and performing mathematical operations issue (From: Eric Hochmeister <email@hidden>)
 >Re: Bindings, NSNumber equal to NIL and performing mathematical operations issue (From: Ricky Sharp <email@hidden>)
 >Re: Bindings, NSNumber equal to NIL and performing mathematical operations issue (From: Eric Hochmeister <email@hidden>)
 >Re: Bindings, NSNumber equal to NIL and performing mathematical operations issue (From: Clark Cox <email@hidden>)

  • Prev by Date: CoreData issue when updating a file format
  • Next by Date: Window Server API
  • Previous by thread: Re: Bindings, NSNumber equal to NIL and performing mathematical operations issue
  • Next by thread: Re: Bindings, NSNumber equal to NIL and performing mathematical operations issue
  • Index(es):
    • Date
    • Thread