• 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: Generating Core Data classes in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generating Core Data classes in Swift


  • Subject: Re: Generating Core Data classes in Swift
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 05 Sep 2014 21:22:32 -0700

On 2014 Sep 05, at 20:22, Jim Geist <email@hidden> wrote:

> Workaround other than hand-tweaking the class?

You could use mogenerator instead of Xcode to generate your Core Data classes.  Although I’ve not tried it yet, supposedly  mogenerator now has a —-swift option.

https://github.com/rentzsch/mogenerator

The latest pre-built binary download, mogenerator 1.27, does not support Swift.  You will therefore need to clone and build mogenerator from source.  But I just did that the other day and it worked perfectly.

In case you’re not familiar with mogenerator, here is a good sales pitch…

https://github.com/rentzsch/mogenerator


_______________________________________________

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: 
 >Generating Core Data classes in Swift (From: Jim Geist <email@hidden>)

  • Prev by Date: Generating Core Data classes in Swift
  • Next by Date: Re: Generating Core Data classes in Swift
  • Previous by thread: Generating Core Data classes in Swift
  • Next by thread: Re: Generating Core Data classes in Swift
  • Index(es):
    • Date
    • Thread