うちのいぬ Tech Blog

Tech Blog of Uchinoinu/My dog

Realm

Migrationの書き方

Realm Swift0.95.0でAPIが色々変わったので、メモ。 ChangeLog realm-cocoa/CHANGELOG.md Migrationの書き方 func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { //↓↓↓↓ let co…