• 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: Core Data design patterns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data design patterns


  • Subject: Re: Core Data design patterns
  • From: mmalc Crawford <email@hidden>
  • Date: Sun, 19 Jul 2009 21:02:18 -0700


On Jul 19, 2009, at 5:05 PM, mmalc Crawford wrote:

The fundamental behaviour is that method returns NO if something goes wrong.

As Jerry kindly pointed out off-list, this method of course returns nil -- not NO -- if something goes wrong. The important issue (and one which has given rise to several threads in the past, which is why the pattern warrants clarification) is that you should check the method's return value, not the error parameter, to determine whether the operation was successful.

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Core Data design patterns (From: Squ Aire <email@hidden>)
 >Re: Core Data design patterns (From: Jerry Krinock <email@hidden>)
 >RE: Core Data design patterns (From: Squ Aire <email@hidden>)
 >Re: Core Data design patterns (From: Jerry Krinock <email@hidden>)
 >Re: Core Data design patterns (From: mmalc Crawford <email@hidden>)

  • Prev by Date: Re: "intelligent" flexible popup
  • Next by Date: [iPhone] get iPhone's IP address...
  • Previous by thread: Re: Core Data design patterns
  • Next by thread: Re: Core Data design patterns
  • Index(es):
    • Date
    • Thread