├── .gitignore ├── .travis.yml ├── CoreDataMigration-Example.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── xcshareddata │ └── xcschemes │ └── CoreDataMigration-Example.xcscheme ├── CoreDataMigration-Example ├── Application │ ├── AppDelegate.swift │ ├── Info.plist │ └── main.swift ├── CoreData │ ├── CoreDataManager.swift │ ├── Migration │ │ ├── CoreDataMigrationModel.swift │ │ ├── CoreDataMigrationStep.swift │ │ ├── CoreDataMigrator.swift │ │ ├── Mappings │ │ │ ├── Migration1to2.xcmappingmodel │ │ │ │ └── xcmapping.xml │ │ │ └── Migration2to3.xcmappingmodel │ │ │ │ └── xcmapping.xml │ │ └── Policies │ │ │ └── Post2ToPost3MigrationPolicy.swift │ └── Model │ │ └── CoreDataMigration_Example.xcdatamodeld │ │ ├── .xccurrentversion │ │ ├── CoreDataMigration_Example 2.xcdatamodel │ │ └── contents │ │ ├── CoreDataMigration_Example 3.xcdatamodel │ │ └── contents │ │ ├── CoreDataMigration_Example 4.xcdatamodel │ │ └── contents │ │ └── CoreDataMigration_Example.xcdatamodel │ │ └── contents ├── Extensions │ ├── CGFloat │ │ └── CGFloat+Random.swift │ ├── NSPersistentStoreCoordinator │ │ └── NSPersistentStoreCoordinator+SQLite.swift │ └── UIColor │ │ ├── UIColor+Hex.swift │ │ └── UIColor+Random.swift ├── Resources │ └── Assets.xcassets │ │ └── AppIcon.appiconset │ │ └── Contents.json ├── Storyboards │ ├── AppLoading.storyboard │ └── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard └── ViewControllers │ ├── Loading │ └── AppLoadingViewController.swift │ └── Posts │ ├── PostTableViewCell.swift │ └── PostsViewController.swift ├── CoreDataMigration-ExampleTests ├── CoreData │ ├── CoreDataManagerTests.swift │ └── Migration │ │ ├── CoreDataMigrationModelTests.swift │ │ ├── CoreDataMigratorTests.swift │ │ └── Models │ │ ├── CoreDataMigration_Example_1.sqlite │ │ ├── CoreDataMigration_Example_2.sqlite │ │ ├── CoreDataMigration_Example_3.sqlite │ │ ├── CoreDataMigration_Example_WAL.sqlite │ │ └── CoreDataMigration_Example_WAL.sqlite-wal ├── CoreDataMigration-ExampleTests-Bridging-Header.h ├── Info.plist └── TestingAppDelegate.swift ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md └── fastlane ├── Fastfile └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/.travis.yml -------------------------------------------------------------------------------- /CoreDataMigration-Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /CoreDataMigration-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /CoreDataMigration-Example.xcodeproj/xcshareddata/xcschemes/CoreDataMigration-Example.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example.xcodeproj/xcshareddata/xcschemes/CoreDataMigration-Example.xcscheme -------------------------------------------------------------------------------- /CoreDataMigration-Example/Application/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Application/AppDelegate.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/Application/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Application/Info.plist -------------------------------------------------------------------------------- /CoreDataMigration-Example/Application/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Application/main.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/CoreDataManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/CoreDataManager.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Migration/CoreDataMigrationModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Migration/CoreDataMigrationModel.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Migration/CoreDataMigrationStep.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Migration/CoreDataMigrationStep.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Migration/CoreDataMigrator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Migration/CoreDataMigrator.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Migration/Mappings/Migration1to2.xcmappingmodel/xcmapping.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Migration/Mappings/Migration1to2.xcmappingmodel/xcmapping.xml -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Migration/Mappings/Migration2to3.xcmappingmodel/xcmapping.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Migration/Mappings/Migration2to3.xcmappingmodel/xcmapping.xml -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Migration/Policies/Post2ToPost3MigrationPolicy.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Migration/Policies/Post2ToPost3MigrationPolicy.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/.xccurrentversion -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/CoreDataMigration_Example 2.xcdatamodel/contents: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/CoreDataMigration_Example 2.xcdatamodel/contents -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/CoreDataMigration_Example 3.xcdatamodel/contents: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/CoreDataMigration_Example 3.xcdatamodel/contents -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/CoreDataMigration_Example 4.xcdatamodel/contents: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/CoreDataMigration_Example 4.xcdatamodel/contents -------------------------------------------------------------------------------- /CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/CoreDataMigration_Example.xcdatamodel/contents: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/CoreData/Model/CoreDataMigration_Example.xcdatamodeld/CoreDataMigration_Example.xcdatamodel/contents -------------------------------------------------------------------------------- /CoreDataMigration-Example/Extensions/CGFloat/CGFloat+Random.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Extensions/CGFloat/CGFloat+Random.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/Extensions/NSPersistentStoreCoordinator/NSPersistentStoreCoordinator+SQLite.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Extensions/NSPersistentStoreCoordinator/NSPersistentStoreCoordinator+SQLite.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/Extensions/UIColor/UIColor+Hex.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Extensions/UIColor/UIColor+Hex.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/Extensions/UIColor/UIColor+Random.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Extensions/UIColor/UIColor+Random.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /CoreDataMigration-Example/Storyboards/AppLoading.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Storyboards/AppLoading.storyboard -------------------------------------------------------------------------------- /CoreDataMigration-Example/Storyboards/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Storyboards/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /CoreDataMigration-Example/Storyboards/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/Storyboards/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /CoreDataMigration-Example/ViewControllers/Loading/AppLoadingViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/ViewControllers/Loading/AppLoadingViewController.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/ViewControllers/Posts/PostTableViewCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/ViewControllers/Posts/PostTableViewCell.swift -------------------------------------------------------------------------------- /CoreDataMigration-Example/ViewControllers/Posts/PostsViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-Example/ViewControllers/Posts/PostsViewController.swift -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreData/CoreDataManagerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreData/CoreDataManagerTests.swift -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreData/Migration/CoreDataMigrationModelTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreData/Migration/CoreDataMigrationModelTests.swift -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreData/Migration/CoreDataMigratorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreData/Migration/CoreDataMigratorTests.swift -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_1.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_1.sqlite -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_2.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_2.sqlite -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_3.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_3.sqlite -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_WAL.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_WAL.sqlite -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_WAL.sqlite-wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreData/Migration/Models/CoreDataMigration_Example_WAL.sqlite-wal -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/CoreDataMigration-ExampleTests-Bridging-Header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/CoreDataMigration-ExampleTests-Bridging-Header.h -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/Info.plist -------------------------------------------------------------------------------- /CoreDataMigration-ExampleTests/TestingAppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/CoreDataMigration-ExampleTests/TestingAppDelegate.swift -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "fastlane", "2.56.0" 4 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/README.md -------------------------------------------------------------------------------- /fastlane/Fastfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/fastlane/Fastfile -------------------------------------------------------------------------------- /fastlane/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wibosco/CoreDataMigration-Example/HEAD/fastlane/README.md --------------------------------------------------------------------------------