Skip to content

Commit

Permalink
Updating AnyObject to Any and updating Atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
atljeremy committed Feb 12, 2017
1 parent f202158 commit 9f8a732
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 106 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@

},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"367142E5B62D6BB7DC7D3B81A21951F1DB07CEEE" : 9223372036854775807,
"E55C33625A9DCFBB7DD41CCA69D85D67C503114C" : 9223372036854775807
"E55C33625A9DCFBB7DD41CCA69D85D67C503114C" : 9223372036854775807,
"F074788A689FAEE34E43CEDF9FA57AA1AF7F9E2C" : 9223372036854775807,
"8857A258E216E4D1D32A58B85AE253C1C31CB38E" : 9223372036854775807,
"367142E5B62D6BB7DC7D3B81A21951F1DB07CEEE" : 9223372036854775807
},
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "BE762550-6FC0-49F3-A535-528DA787BBD5",
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
"367142E5B62D6BB7DC7D3B81A21951F1DB07CEEE" : "HTTPService\/",
"E55C33625A9DCFBB7DD41CCA69D85D67C503114C" : "HTTPService\/Vendor\/Atlas\/"
"E55C33625A9DCFBB7DD41CCA69D85D67C503114C" : "HTTPService\/Vendor\/Atlas\/",
"F074788A689FAEE34E43CEDF9FA57AA1AF7F9E2C" : "..\/..\/..\/..",
"8857A258E216E4D1D32A58B85AE253C1C31CB38E" : "..\/..",
"367142E5B62D6BB7DC7D3B81A21951F1DB07CEEE" : "HTTPService\/"
},
"DVTSourceControlWorkspaceBlueprintNameKey" : "HTTPService",
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
Expand All @@ -21,10 +25,20 @@
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "367142E5B62D6BB7DC7D3B81A21951F1DB07CEEE"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "bitbucket.org:lawntap\/lawntap_ios.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "8857A258E216E4D1D32A58B85AE253C1C31CB38E"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "github.com:rentpath\/Atlas",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "E55C33625A9DCFBB7DD41CCA69D85D67C503114C"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "bitbucket.com:lawntap\/lawntap-ios",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "F074788A689FAEE34E43CEDF9FA57AA1AF7F9E2C"
}
]
}
99 changes: 0 additions & 99 deletions HTTPService.xcodeproj/xcshareddata/xcschemes/HTTPService.xcscheme

This file was deleted.

4 changes: 2 additions & 2 deletions HTTPService/Request/HTTPRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public struct ImageUpload {

public struct HTTPRequest {

public typealias Params = [String: AnyObject]
public typealias Params = [String: Any]
public typealias Headers = [String: String]

public enum Method: String {
Expand Down Expand Up @@ -149,7 +149,7 @@ public struct HTTPRequest {
return urlRequest
}

fileprivate func appendParams(_ params: [String: AnyObject], withBoundary boundary: String, parentKey: String? = nil, atIndex index: Int? = nil) -> String {
fileprivate func appendParams(_ params: [String: Any], withBoundary boundary: String, parentKey: String? = nil, atIndex index: Int? = nil) -> String {
var postData = ""
for (key, value) in params {
if let nestedParams = value as? [String: AnyObject] {
Expand Down

0 comments on commit 9f8a732

Please sign in to comment.