Skip to content

Commit

Permalink
0.8.1,移除了测试print()
Browse files Browse the repository at this point in the history
  • Loading branch information
linhay committed Jan 15, 2018
1 parent f0c94d1 commit ea1d632
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
31 changes: 15 additions & 16 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/Routable.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0910;
LastUpgradeCheck = 0920;
ORGANIZATIONNAME = CocoaPods;
TargetAttributes = {
607FACCF1AFB9204008FA782 = {
Expand Down Expand Up @@ -412,7 +412,7 @@
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Routable/Routable_Example-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_VERSION = 4.0;
};
name = Release;
Expand Down
2 changes: 1 addition & 1 deletion SPRoutable.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SPRoutable'
s.version = '0.8.0'
s.version = '0.8.1'
s.summary = '基础的路由服务'


Expand Down
1 change: 0 additions & 1 deletion Sources/Routable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public extension Routable {
public static func object<T: Any>(url: URLProtocol,params:[String: Any] = [:]) -> T? {
guard let path = urlFormat(url: url, params: params) else { return nil }
guard let object = Routable.perform(value: path) else { return nil }
print(String(describing: T.self))
switch String(describing: T.self) {
case "Int":
return object.toOpaque().hashValue as? T
Expand Down

0 comments on commit ea1d632

Please sign in to comment.