Initializes a newly allocated array with the contents of the file specified by a given path.
- iOS 2.0–11.0Deprecated
- macOS 10.0–10.13Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–11.0Deprecated
- watchOS 2.0–4.0Deprecated
The path to a file containing a representation of an array produced by the
An array initialized to contain the contents of the file specified by
nil if the file can’t be opened or the contents of the file can’t be parsed into an array. The returned object might be different than the original receiver.
The array representation in the file identified by
a must contain only property list objects (
NSDictionary objects). The objects contained by this array are immutable, even if the array is mutable.