DSFoundation
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- iOS8.0+
- xcode9+
##安装
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 1.1.0+ is required to build DSFoundation 0.1.0+.
To integrate DSFoundation 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 'DSFoundation'
end
Then, run the following command:
$ pod install
Carthage
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 DSFoundation into your Xcode project using Carthage, specify it in your Cartfile
:
github "DiorStone/DSFoundation" ~> 0.1.0
Run carthage update
to build the framework and drag the built DSFoundation.framework
into your Xcode project.
Manually
If you prefer not to use any of the aforementioned dependency managers, you can integrate Alamofire into your project manually.
Embedded Framework
-
Open up Terminal,
cd
into your top-level project directory, and run the following command "if" your project is not initialized as a git repository:$ git init
-
Add DSPopup as a git submodule by running the following command:
$ git submodule add https://github.com/DiorStone/DSFoundation.git
推荐依赖库
- SwiftDate常用日期处理
- CryptoSwift常用加密算法
- Kingfisher图片下载框架
- Alamofire网络框架
- DefaultsUserDefaults存储app配置信息
Author
mrdaios, [email protected]
License
DSFoundation is available under the MIT license. See the LICENSE file for more info.