A method identified as deprecated has been superseded and may become unsupported in the future.
Returns an array of strings representing those file types that can be loaded as text. (Deprecated in Mac OS X v10.5. Use textTypes instead.)
+ (NSArray *)textFileTypes
This list includes all file types supported by text classes, plus those types that can be converted to supported file types through a user-installed filter service. The array returned by this method may be passed directly to NSOpenPanel method runModalForTypes:.
File types are identified by extension and HFS file types. By default, the list returned by this method includes “txt”, “rtf”, “rtfd”, and “html”.
When creating a subclass of NSAttributedString that accepts text data from nondefault file types, override textUnfilteredFileTypes to notify NSAttributedString of the file types your class supports.
NSAttributedString.h
Returns an array of pasteboard types that can be loaded as text. (Deprecated in Mac OS X v10.5. Use textTypes instead.)
+ (NSArray *)textPasteboardTypes
This list includes all pasteboard types supported by text classes and those that can be converted to supported pasteboard types through a user-installed filter service.
By default, the list returned by this method includes NSHTMLPboardType, NSRTFPboardType, NSRTFDPboardType, and NSStringPboardType.
When creating a subclass of NSAttributedString that accepts text data from nondefault pasteboard types, override textUnfilteredPasteboardTypes to notify NSAttributedString of the pasteboard types your class supports.
NSAttributedString.h
Returns an array of strings representing those file types that can be loaded as a text. (Deprecated in Mac OS X v10.5. Use textUnfilteredTypes instead.)
+ (NSArray *)textUnfilteredFileTypes
This list consists of all file types supported by text classes, but does not include those types that can be converted to supported file types through a user-installed filter service. The array returned by this method may be passed directly to NSOpenPanel method runModalForTypes:.
NSAttributedString.h
Returns an array of pasteboard types that can be loaded as text. (Deprecated in Mac OS X v10.5. Use textUnfilteredTypes instead.)
+ (NSArray *)textUnfilteredPasteboardTypes
This list consists of all pasteboard types supported by text classes, but does not include those that can be converted to supported pasteboard types through a user-installed filter service.
NSAttributedString.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-12-04)