The NSData class is an Apple class for holding generic data.
I'm making an iPhone app where I want to save state of the Application. This includes an int property which …
iphone objective-c nsdata-(void)transformObjects:(NSMutableArray*)array key:(NSString*)key { NSMutableArray* archiveArray = [[NSMutableArray alloc]initWithCapacity:array.count]; for (Furniture *furniture in array) { // …
ios nsdata unrecognized-selectorI have an original NSData type which contains let's say 100 bytes. I want to get 2 other NSData types. The first …
objective-c nsdataHow can I init NSData to nil ? Because later, I need to check if this data is empty before using …
ios swift nsdataI'm trying to eliminate startup lag when playing a (very short -- less than 2 seconds) audio file via AVAudioPlayer on …
iphone caching audio nsdata avaudioplayerI want to save an NSMutableArray or NSDictionary as a permanent file. Then, I would like to reopen the file …
ios cocoa-touch nsmutablearray nsdictionary nsdataI haven't seen any documentation on the topic, but that doesn't mean it doesn't exist.
ios nsdata data-compressionI Need to convert UIImage to NSData but without using UIImagePngRepresentation or UIImageJpegRepresentation, for images from photolib i can use …
ios uiimage nsdata assets uiimagepngrepresentationI have an iPhone app which encrypts an inputted NSString using CCCrypt (AES256) and a plaintext key. The string and …
iphone objective-c encryption nsstring nsdataI have a struct containing a struct and an NSObject that I want to serialize into an NSData object: struct …
swift serialization struct nsdata nskeyedarchiver