SwiftPackage
SwiftPackage is a template to create Swift frameworks. It has a basic folder structure and the project with shared framework and test targets. It also includes the necessary metadata files to make it CocoaPods and Carthage compatible and generates an empty example project.
Features
- Support Swift 4
🎉 - Support iOS, macOS, tvOS, watchOS
- Support CocoaPods, Carthage, Swift Package Manager
- Use Circle CI
Project structure
- Sources: contains source files
- Shared: common files
- iOS: for iOS target
- macOS: for macoS target
- tvOS: for tvOS target
- watchOS: for watchOS target
- Info: contains target
Info.plist
files - SwiftPackageTests: contains test files
Usage
git clone https://github.com/hyperoslo/SwiftPackage.git NewPackageName
cd NewPackageName
./init.rb
- Enter the requested info.
"NewPackageName" here is the name of your Swift framework.
Author
Hyper Interaktiv AS, [email protected]
Contributing
We would love you to contribute to SwiftPackage, check the CONTRIBUTING file for more info.
License
SwiftPackage is available under the MIT license. See the LICENSE file for more info.