• 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 : calling validation in awakeFromInsert problem ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data : calling validation in awakeFromInsert problem ?


  • Subject: Re: Core Data : calling validation in awakeFromInsert problem ?
  • From: guillaume garcera <email@hidden>
  • Date: Tue, 6 Sep 2005 17:17:46 +0200


Le 5 sept. 05 à 21:07, mmalcolm crawford a écrit :

This approach will be very inefficient for anything but data sets where there is little likelihood of name collisions -- you have to do an additional fetch for every collision. It's not clear what your goal is here. If you're simply wanting to set temporary distinct names (like window titles) for small numbers of objects, this would probably be OK. If these will be permanent values for an ever-increasing number of objects, then you'll need a different approach...

mmalc


What kind of approach you think ?
I have the same goal i want make unique a propertie but i don't find solution for this.
I have think to perform this verification in the add methods of the coressponding controller but i'm not sure it a good solution. Do you think its good or not ? and what it is the best solution ?


_______________________________________________
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: 
 >Core Data : calling validation in awakeFromInsert problem ? (From: Eric Morand <email@hidden>)
 >Re: Core Data : calling validation in awakeFromInsert problem ? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Message Forwarding for + Methods
  • Next by Date: Re: Calling AppleScript from a Cocoa app
  • Previous by thread: Re: Core Data : calling validation in awakeFromInsert problem ?
  • Next by thread: [cocoa scripting] default sub container
  • Index(es):
    • Date
    • Thread