Skip to content

Commit

Permalink
Converted to Swift 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaosCoder committed Feb 11, 2015
1 parent 8f21125 commit fb40300
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Pod/Classes/Locksmith.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import UIKit
import Security

public let LocksmithErrorDomain = "com.locksmith.error"
public let LocksmithDefaultService = NSBundle.mainBundle().infoDictionary![kCFBundleIdentifierKey] as String
public let LocksmithDefaultService = NSBundle.mainBundle().infoDictionary![kCFBundleIdentifierKey] as! String


public class Locksmith: NSObject {
Expand Down Expand Up @@ -324,4 +324,4 @@ extension NSMutableDictionary {
self.setObject(object, forKey: key)
}
}
}
}
4 changes: 2 additions & 2 deletions Pod/Classes/LocksmithRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum Accessible: Int {
public class LocksmithRequest: NSObject, DebugPrintable {
// Keychain Options
// Required
public var service: String = NSBundle.mainBundle().infoDictionary![kCFBundleIdentifierKey] as String // Default to Bundle Identifier
public var service: String = NSBundle.mainBundle().infoDictionary![kCFBundleIdentifierKey] as! String // Default to Bundle Identifier
public var userAccount: String
public var type: RequestType = .Read // Default to non-destructive

Expand Down Expand Up @@ -59,4 +59,4 @@ public class LocksmithRequest: NSObject, DebugPrintable {
self.init(userAccount: userAccount, requestType: requestType, service: service)
self.data = data
}
}
}

0 comments on commit fb40300

Please sign in to comment.