Skip to content

Commit

Permalink
fixed for swift 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
frranck authored Sep 8, 2016
1 parent 9ecfef2 commit 52d5df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Unbox.swift
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ extension Bool: UnboxableRawType {
}

public static func transformUnboxedString(unboxedString: String) -> Bool? {
switch unboxedString.lowercased() {
switch unboxedString.lowercaseString {
case "true", "t", "y", "yes": return true
case "false", "f" , "n", "no": return false
default: return nil
Expand Down

0 comments on commit 52d5df1

Please sign in to comment.