Skip to content

Commit eb70f3a

Browse files
author
wxlpp
committed
docs(All): 修改ReadMed
1 parent 1f23964 commit eb70f3a

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

Example/shell.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@
303303
SDKROOT = iphoneos;
304304
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
305305
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
306+
SWIFT_VERSION = 5.0;
306307
};
307308
name = Debug;
308309
};
@@ -357,6 +358,7 @@
357358
SDKROOT = iphoneos;
358359
SWIFT_COMPILATION_MODE = wholemodule;
359360
SWIFT_OPTIMIZATION_LEVEL = "-O";
361+
SWIFT_VERSION = 5.0;
360362
VALIDATE_PRODUCT = YES;
361363
};
362364
name = Release;

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,21 @@
1-
# UIRouter
2-
Swift 实现的路由解耦框架
1+
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/UIRouter.svg)](https://img.shields.io/cocoapods/v/UIRouter.svg)
2+
![Cocoapods](https://img.shields.io/cocoapods/l/UIRouter)
3+
[![Platform](https://img.shields.io/cocoapods/p/uirouter.svg?style=flat)](https://UIRouter.github.io/uirouter)
4+
![Bitbucket open issues](https://img.shields.io/bitbucket/issues/wxlpp/UIRouter)
5+
6+
UIRouter 是一个用Swift实现的路由解耦框架.
7+
## 安装
8+
9+
### CocoaPods
10+
11+
```ruby
12+
pod 'UIRouter', '~> 0.1.0.alpha'
13+
```
14+
15+
### Swift Package Manager
16+
17+
```swift
18+
dependencies: [
19+
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.2.0"))
20+
]
21+
```

UIRouter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ TODO: Add long description of the pod here.
2020
s.source = { :git => 'https://github.com/wxlpp/UIRouter.git', :tag => s.version.to_s }
2121

2222
s.ios.deployment_target = '9.0'
23-
23+
s.swift_versions = '5.4'
2424
s.source_files = 'Source/**/*'
2525
s.ios.frameworks = 'UIKit', 'SafariServices'
2626
end

log.png

14.3 KB
Loading

0 commit comments

Comments
 (0)