Here’s the simplest way:
NSDictionary* dict = ...;
[dict writeToFile:@"..." atomically:YES];
See the documentation for -writeToFile:atomically:
.
More Related Contents:
- Using NSPredicate to filter an NSArray based on NSDictionary keys
- Parse Plist (NSString) into NSDictionary
- writing NSDictionary to plist in my app bundle
- What is an NSCFDictionary?
- Plist Array to NSDictionary
- @class vs. #import
- How do I use NSTimer?
- How to read data from NSFileHandle line by line?
- How to Check if an NSDate occurs between two other NSDates
- NSInvocation for Dummies?
- Hidden Features of Xcode
- @synthesize vs @dynamic, what are the differences?
- What exactly is a so called “Class Cluster” in Objective-C?
- Why are umbrella frameworks discouraged? [closed]
- Regular expressions in an Objective-C Cocoa application
- How to Write OS X Finder plugin
- View-based NSTableView with rows that have dynamic heights
- NSMutableArray – force the array to hold specific object type only
- Best way to remove from NSMutableArray while iterating?
- Difference between NSString literals
- Can i sort the NSDictionary on basis of key in Objective-C?
- Calculating Connection/Download Speed
- Using Swift CFunctionPointer to pass a callback to CoreMIDI API
- using objc_msgSend to call a Objective C function with named arguments
- Call instance method from class method
- Mac Mountain Lion send notification from CLI app
- Flatten an NSArray
- How to get the width of an NSString?
- How to Get the Display Name with the Display ID in Mac OS X?
- Executing shell commands with NSTask – Objective-C Cocoa