Initializes a newly allocated dictionary using the keys and values found in a file at a given path.
Original signature is '- (id)initWithContentsOfFile:(NSString *)path'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- path (NSString)
- A full or relative pathname. The file identified by path must contain a string representation of a property list whose root object is a dictionary.
Return Value
An initialized dictionary—which might be different than the original receiver—that contains the dictionary at path, or nil if there is a file error or if the contents of the file are an invalid representation of a dictionary.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)