small style changes
This commit is contained in:
parent
1c80cc7e4c
commit
18285f5401
@ -26,6 +26,6 @@ import Foundation
|
|||||||
|
|
||||||
extension String {
|
extension String {
|
||||||
func urlEncode() -> String? {
|
func urlEncode() -> String? {
|
||||||
return self.stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.allowedURLCharacterSet)
|
return stringByAddingPercentEncodingWithAllowedCharacters(.allowedURLCharacterSet)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user