• 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: Creating CoreData classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating CoreData classes


  • Subject: Re: Creating CoreData classes
  • From: Rob Keniger <email@hidden>
  • Date: Mon, 28 Dec 2009 16:51:32 +1000

On 28/12/2009, at 2:52 PM, Brian Bruinewoud wrote:
> But I'm looking for something more like this:
>
>    CDClass *cdObject = [ CDClass insertNewObjectInManagedObjectContext: context ];
>
> Is there any such method or do I need to add them to the generated class files myself?


If you use mogenerator to create your custom NSManagedObject subclasses, you get methods like this created for you automatically:

http://github.com/rentzsch/mogenerator

--
Rob Keniger



_______________________________________________

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: Creating CoreData classes
      • From: Brian Bruinewoud <email@hidden>
References: 
 >Creating CoreData classes (From: Brian Bruinewoud <email@hidden>)

  • Prev by Date: Re: Creating CoreData classes
  • Next by Date: extending automatic core data entity classes
  • Previous by thread: Re: Creating CoreData classes
  • Next by thread: Re: Creating CoreData classes
  • Index(es):
    • Date
    • Thread