A collection of custom swiftUI controls
- File > Swift Packages > Add Package Dependency...
- Choose Project you want to add MoreSwiftUI
- Paste repository https://github.com/chenhaiteng/MoreSwiftUI.git
- Rules > Version: Up to Next Major 0.1.0 It's can also apply Rules > Branch : main to access latest code. If you want try some experimental features, you can also apply Rules > Branch : develop
Note: It might need to link MoreSwiftUI to your target maunally.
- Open Project Editor by tap on root of project navigator
- Choose the target you want to use MoreSwiftUI.
- Choose Build Phases, and expand Link Binary With Libraries
- Tap on + button, and choose MoreSwiftUI to add it.
dependencies: [
.package(url: "https://github.com/chenhaiteng/MoreSwiftUI.git", from: "0.4.0")
// To specify branch, use following statement to instead of.
// .package(url: "https://github.com/chenhaiteng/MoreSwiftUI.git", branch: "${branch_name}"))
],
targets: [
.target(
name: "MyPackage",
dependencies: ["MoreSwiftUI"]),
]
MoreSwiftUI is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'MoreSwiftUI'
MoreSwiftUI is available under the MIT license. See the LICENSE file for more info.