Top "Nsdata" questions

The NSData class is an Apple class for holding generic data.

NSDictionary to NSData and NSData to NSDictionary in Swift

I am not sure if I am using the dictionary or the data object or both incorrectly. I m trying …

ios swift nsdictionary nsdata
NSData and UIImage

I am trying to load UIImage object from NSData, and the sample code was to NSImage, I guess they should …

ios iphone cocoa-touch uiimage nsdata
iPhone - NSData from local file's URL

I have a NSURL object which gives me the path of a local file (in documents folder). I want to …

iphone nsdata nsurl
Converting between NSData and base64 strings

What is the easiest and fastest code to do a conversion between NSData and a base64 string? I've read a …

ios objective-c nsstring nsdata
Converting JSON to NSData, and NSData to JSON in Swift

I'm having problems converting a JSON element into NSData, and an NSData variable back into JSON in Swift. Firstly, I'd …

json xcode swift nsdata
NSData to [Uint8] in Swift

I couldn't find a solution to this problem in Swift (all of them are Objective-C, and they deal with pointers …

swift nsdata
NSData and Uploading Images via POST in iOS

I have been combing through the many many posts about uploading images via POST in iOS. Despite the wealth of …

iphone ios post nsdata nsurlrequest
Get underlying NSData from UIImage

I can create UIImage from NSData using [UIImage imageWithData:] or [UIImage initWithData:] methods. I wonder if I can get the …

cocoa-touch uiimage nsdata
NSData to UIImage

I'm trying to save a UIIMage and then retrieve it and display it. I've been successful by saving an image …

iphone uiimage nsdata
Converting NSData to base64

How to convert NSData to base64. I have NSData and want to convert into base64 how can I do this?

iphone base64 nsdata