Last active
          March 24, 2021 10:53 
        
      - 
      
- 
        Save gillesdemey/509bb8a1a8c576ea215a to your computer and use it in GitHub Desktop. 
Revisions
- 
        gillesdemey revised this gist Nov 21, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ func getQueryStringParameter(url: String, param: String) -> String? { let url = NSURLComponents(string: url)! 
- 
        gillesdemey created this gist Nov 21, 2014 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ func getQueryStringParamater(url: String, param: String) -> String? { let url = NSURLComponents(string: url)! return (url.queryItems? as [NSURLQueryItem]) .filter({ (item) in item.name == param }).first? .value() }