Top "Nsdata" questions

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

UIDocumentInteractionController "invalid scheme (null)"

I'm trying to preview a document with UIDocumentInteractionController. The document is an .xls file which my app downloads from the …

ios excel nsdata preview uidocumentinteraction
How to convert dispatch_data_t to NSData?

Is this the right way? // convert const void *buffer = NULL; size_t size = 0; dispatch_data_t new_data_file = dispatch_…

ios c grand-central-dispatch nsdata dispatch
Convert AVAudioPCMBuffer to NSData and back

How to convert AVAudioPCMBuffer to NSData? If it should be done as let data = NSData(bytes: buffer.floatChannelData, length: bufferLength) …

swift ios8 nsdata avaudiopcmbuffer
Cast NSData as! CFDataRef in swift 2.0

I have a line in a code which became deprecated, there are suggestions in XCode what to replace it with, …

ios casting swift2 nsdata cfdata
Progress bar while downloading files iOS

I am using the following to download the files from the internet: NSData *myXMLData1 = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:@"Link]]; …

ios nsdata uiprogressview
implementing AES256 encryption into IOS

This is my java code. Now I want to implement same functionality in Objective-C. Cipher encryptCipher; IvParameterSpec iv = new IvParameterSpec(…

iphone encryption aes nsdata commoncrypto
NSData type for Java?

I am curious to know if there is anything like the Cocoa NSData Class on Java. I have looked around …

java client-server nsdata file-sharing
Record audio to NSData

I have set up a TCP connection between two iPhones and I am able to send NSData packages between the …

iphone nsdata record microphone voice
UIImageJPEGRepresentation | generateJPEGRepresentation saves image as nil? Swift 3

I am currently designing a database management application with Realm, where I have managed to create and retrieve an object …

ios swift swift3 nsdata uiimagejpegrepresentation
Display NSImage from NSData

My target is to display an image in a view. Considering I've an: IBOutlet NSImageView *image for display my image …

objective-c nsview nsdata nsimage cgimage