• 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: Using an empty string as the default value for a Core Data attribute in the XCode modeller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using an empty string as the default value for a Core Data attribute in the XCode modeller


  • Subject: Re: Using an empty string as the default value for a Core Data attribute in the XCode modeller
  • From: email@hidden
  • Date: Wed, 5 Sep 2007 13:48:09 +0200

Hello Frank,

Why don't you just subclass NSManagedObject for this entity and set this value explicitly to an empty string when a new instance is created using -awakeFromInsert?

Cheers,
Annard

On 5 Sep 2007, at 12:33, Frank Reiff wrote:

Is there any trick to use the modeler to supply @"" as a default value? I find it hard to type an empty string ;-)

_______________________________________________

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


  • Follow-Ups:
    • Re: Using an empty string as the default value for a Core Data attribute in the XCode modeller
      • From: Frank Reiff <email@hidden>
References: 
 >Using an empty string as the default value for a Core Data attribute in the XCode modeller (From: Frank Reiff <email@hidden>)

  • Prev by Date: Re: Attributed Strings in Distributed Objects
  • Next by Date: Re: Using an empty string as the default value for a Core Data attribute in the XCode modeller
  • Previous by thread: Using an empty string as the default value for a Core Data attribute in the XCode modeller
  • Next by thread: Re: Using an empty string as the default value for a Core Data attribute in the XCode modeller
  • Index(es):
    • Date
    • Thread