Quantcast
Channel: iOS-Blog » Tutorials
Viewing all articles
Browse latest Browse all 18

Base64 Decoding in iOS 7 Objective-C and iOS8 Swift

$
0
0
Here is a very quick tip that about Base64 decoding for iOS Applications and for Objective-C iOS7+, incl iOS8 Swift. Knowing this quick reference has saved my bacon so many times, it might be a good idea to bookmark this page. If you are just getting into iOS Swift Development, then check out these great resources: Base64 Decoding in iOS 7+ for Objective-C 1NSString *plainString = @"foo"; Encoding 123NSData *plainData = [plainString dataUsingEncoding:NSUTF8StringEncoding]; NSString *base64String = [plainData base64EncodedStringWithOptions:0]; NSLog(@"%@", base64String); ...

Viewing all articles
Browse latest Browse all 18

Trending Articles