Top "Nsdictionary" questions

A member of Apple's Objective-C framework Cocoa.

How to deserialize json object and assign to a NSDictionary in iOS

This is my code for handling server response. - (void)connectionDidFinishLoading:(NSURLConnection *)connection { NSLog(@"connectionDidFinishLoading : %@", [[NSString alloc] initWithData:self.data …

ios json nsdictionary deserialization nsdata
How do I convert url.query to a dictionary in Swift?

I have a URL coming in to the AppDelegate method: func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: …

ios swift nsdictionary nsurl
How to add userInfo to a UIAlertView?

I would like to know how to add a userInfo object, or any NSDictionary, to a UIAlertView? Thank you.

iphone objective-c nsdictionary uialertview userinfo
fast enumeration for NSDictionary instance ordered by the key

Overview I am using fast enumeration to iterate through an NSDictionary instance I expected the NSDictionary instance to be enumerated …

objective-c nsdictionary fast-enumeration
writing NSDictionary to plist in my app bundle

I'm trying to write an NSDictionary to a plist but when I open the plist no data has been written …

iphone objective-c cocoa plist nsdictionary
How to convert NSManagedObject to NSDictionary

I am trying to convert NSManagedObject to NSDictionary this is what I tried: var keys:NSArray = order?.entity.attributesByName.keys …

ios swift core-data nsdictionary nsmanagedobject
UIView as dictionary key?

I want to have a NSDictionary that maps from UIViews to something else. However, since UIViews do not implement the …

iphone objective-c uiview nsdictionary nscopying
Accessing keys in NSDictionary using [key] notation?

I have just realised that I can access NSDictionary using both objectForKey: and dict[key]? NSDictionary *coordsDict = @{@"xpos": @5.0, @"ypos": @7.2, @"zpos": @15.7}; …

objective-c nsdictionary objective-c-literals
UIPickerView with NSDictionary

I am a .NET programmer and new to Objective C. I am trying to make a UIPickerView which acts like …

iphone objective-c nsdictionary uipickerview xcode3.2
Trying to encrypt an NSDictionary when writing to file

I'm currently saving an NSDictionary to file on the iOS device. However, NSDictionary files are readable XML. I don't want …

ios encryption uikit nsdictionary