Saves the receiver to a file at the specified path.
Original signature is '- (BOOL)writeToFile:(NSString *)path'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- path (NSString)
- The path at which to save the color list. If path is a directory, the receiver is saved in a file named listname.clr in that directory (where listname is the name with which the receiver was initialized).
Return Value
YES upon success and NO if the method fails to write the file.
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)