Swiftpack.co -  Hengyu/Migration as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Hengyu/Migration
Manages blocks of code that only need to run once on version updates in iOS apps.
.package(url: "https://github.com/Hengyu/Migration.git", from: "1.0.0")

Migration

Manages blocks of code that need to run once on version updates in iOS apps. This could be anything from data normalization routines, "What's New In This Version" screens, or bug fixes.

This is the Swift version of MTMigration.

Installation

Manual

Download the .zip from this repo and drag the /Migration folder into your project.

Swift Package Manager

In Xcode 11 or newer versions you can add packages by going to File > Swift Packages > Add Package Dependency. Copy in this repos URL and go from there.

Usage

Still working... You can see the comments in code first.

Notes

Migration assumes version numbers are incremented in a logical way, i.e. 1.0.1 -> 1.0.2, 1.1 -> 1.2, etc.

License

Migration is released under the MIT License.

GitHub

link
Stars: 1
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API