• 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 debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data debugging


  • Subject: Re: Core Data debugging
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 16 Jul 2009 16:14:57 -0700

On Thu, Jul 16, 2009 at 3:54 PM, Quincey
Morris<email@hidden> wrote:
> If I've misunderstood your point, it would be helpful to see an example of
> how your code might look with the NSError-wrapping code in place.

The point is that convenience is increased if NSError-returning
methods follow the childhood rule of "if you have nothing useful to
say, don't say it at all."  IOW, if you're going to return YES, don't
muck with *error.  Then we don't have to worry about using different
techniques for wrapping error objects at different points of the
program's flow.

--Kyle Sluder
_______________________________________________

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: 
 >Re: Core Data debugging (From: email@hidden)
 >Re: Core Data debugging (From: Fritz Anderson <email@hidden>)
 >Re: Core Data debugging (From: BJ Homer <email@hidden>)
 >Re: Core Data debugging (From: Bill Bumgarner <email@hidden>)
 >Re: Core Data debugging (From: Kyle Sluder <email@hidden>)
 >Re: Core Data debugging (From: Bill Bumgarner <email@hidden>)
 >Re: Core Data debugging (From: Timothy Wood <email@hidden>)
 >Re: Core Data debugging (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Core Data debugging
  • Next by Date: Re: Core Data debugging
  • Previous by thread: Re: Core Data debugging
  • Next by thread: Re: Core Data debugging
  • Index(es):
    • Date
    • Thread