- iOS 8.0+
- Xcode 11.0+
- Swift 5.0+
Swift extensions and utils classes
run buildFramework script
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate SwiftMan into your Xcode project using Carthage, specify it in your Cartfile
:
github "easyui/SwiftMan"
Run carthage update
to build the framework and drag the built SwiftMan.framework
into your Xcode project.
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate SwiftMan into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target '<Your Target Name>' do
pod 'SwiftMan'
end
Then, run the following command:
$ pod install
some functions from other gitHub and internet, thanks all.