Initializes a newly allocated mutable array with the contents of the file specified by a given path
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The path to a file containing a representation of a mutable array produced by
To File: atomically:
A mutable 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 a mutable array. The returned object must be different than the original receiver.
The mutable 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.