Skip to content

Commit

Permalink
新增 AccessTokenManager 實作
Browse files Browse the repository at this point in the history
  • Loading branch information
vc7 committed Nov 10, 2016
1 parent 8363654 commit 93a6357
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions protocolDemoSwift.xcodeproj/project.pbxproj
Expand Up @@ -20,6 +20,8 @@
BFA577131DD4B35B00119D68 /* TokenManageable.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA577111DD4B35A00119D68 /* TokenManageable.swift */; };
BFA577151DD4B46800119D68 /* AppManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA577141DD4B46800119D68 /* AppManager.swift */; };
BFA577161DD4B46800119D68 /* AppManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA577141DD4B46800119D68 /* AppManager.swift */; };
BFA577181DD4B60400119D68 /* AccessTokenManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA577171DD4B60400119D68 /* AccessTokenManager.swift */; };
BFA577191DD4B60400119D68 /* AccessTokenManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA577171DD4B60400119D68 /* AccessTokenManager.swift */; };
FBF5C1088D74B14CA3F1418E /* Pods_protocolDemoSwiftTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 688939E3916318FEE7D3FD8C /* Pods_protocolDemoSwiftTests.framework */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -52,6 +54,7 @@
BFA5770E1DD4B27E00119D68 /* AppManageable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppManageable.swift; sourceTree = "<group>"; };
BFA577111DD4B35A00119D68 /* TokenManageable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TokenManageable.swift; sourceTree = "<group>"; };
BFA577141DD4B46800119D68 /* AppManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppManager.swift; sourceTree = "<group>"; };
BFA577171DD4B60400119D68 /* AccessTokenManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AccessTokenManager.swift; sourceTree = "<group>"; };
E3BC20D5C473C7DD5AEC8B29 /* Pods-protocolDemoSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-protocolDemoSwift.debug.xcconfig"; path = "Pods/Target Support Files/Pods-protocolDemoSwift/Pods-protocolDemoSwift.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -144,6 +147,7 @@
BFA5770E1DD4B27E00119D68 /* AppManageable.swift */,
BFA577141DD4B46800119D68 /* AppManager.swift */,
BFA577111DD4B35A00119D68 /* TokenManageable.swift */,
BFA577171DD4B60400119D68 /* AccessTokenManager.swift */,
);
path = Managers;
sourceTree = "<group>";
Expand Down Expand Up @@ -355,6 +359,7 @@
BFA576F01DD4AF8400119D68 /* ViewController.swift in Sources */,
BFA577151DD4B46800119D68 /* AppManager.swift in Sources */,
BFA576EE1DD4AF8400119D68 /* AppDelegate.swift in Sources */,
BFA577181DD4B60400119D68 /* AccessTokenManager.swift in Sources */,
BFA577121DD4B35B00119D68 /* TokenManageable.swift in Sources */,
BFA5770F1DD4B27E00119D68 /* AppManageable.swift in Sources */,
);
Expand All @@ -366,6 +371,7 @@
files = (
BFA577101DD4B27E00119D68 /* AppManageable.swift in Sources */,
BFA577031DD4AF8400119D68 /* protocolDemoSwiftTests.swift in Sources */,
BFA577191DD4B60400119D68 /* AccessTokenManager.swift in Sources */,
BFA577131DD4B35B00119D68 /* TokenManageable.swift in Sources */,
BFA577161DD4B46800119D68 /* AppManager.swift in Sources */,
);
Expand Down
21 changes: 21 additions & 0 deletions protocolDemoSwift/Managers/AccessTokenManager.swift
@@ -0,0 +1,21 @@
//
// AccessTokenManager.swift
// protocolDemoSwift
//
// Created by vincent on 2016/11/10.
// Copyright © 2016年 vc7. All rights reserved.
//

import Foundation

class AccessTokenManager: TokenManageable {
var token: String? {
return nil
}

func update(token: String) {
}

func reset() {
}
}

0 comments on commit 93a6357

Please sign in to comment.