The NSData class is an Apple class for holding generic data.
After some searching, I got the following solution : reference. CLLocationCoordinate2D* new_coordinate = malloc(sizeof(CLLocationCoordinate2D)); new_coordinate->…
cocoa nsmutablearray nsdataI am writing a .jpg file to my app's Documents directory like this: NSData *img = UIImageJPEGRepresentation(myUIImage, 1.0); BOOL retValue = [img …
iphone uiimageview uiimage nsdata uiimagejpegrepresentationI'm working on an app where you can send either a text, image or a contact over Multipeer Connectivity to …
objective-c core-data ios7 nsdata multipeer-connectivityHow do you convert CMSampleBufferRef to NSData? I've managed to get the data for an MPMediaItem by following Erik Aigner's …
objective-c ios nsdata cmsamplebufferrefI have a fairly large NSData (or NSMutableData if necessary) object which I want to take a small chunk out …
nsdata truncate nsmutabledataI have a gif image in my photo album. When I use the UIImagePickerController to select that image, I need …
ios nsdata gifI have recently found a source code in swift and I am trying to get it to objective-C. The one …
ios objective-c xcode swift nsdataI am writing a Mac app based on an iOS app. The code below converts a UIImage to NSData to …
parse-platform uiimage nsdata nsimage uiimagepngrepresentationUsing the iPhone SDK, I'm having the user select images from the image picker. If the user selects an image …
iphone nsdata