GMResourceFork |
Superclass: NSObject
Declared In: GMResourceFork
This class can be used to construct raw NSData for a resource fork. For more information about resource forks, see the CarbonCore/Finder.h header file.
resourceFork |
Returns an autoreleased GMResourceFork
+ (GMResourceFork *)resourceFork;
addResourceWithType:resID:name:data: |
Adds a resource to the resource fork by specifying components.
- (void)addResourceWithType:(ResType)resType resID:(ResID)resID name:(NSString *)name data:(NSData *)data;
resType
resID
name
data
See CarbonCore/Finder.h for some common resource identifiers.
addResource: |
Adds a resource to the resource fork.
- (void)addResource:(GMResource *)resource;
resource
See CarbonCore/Finder.h for some common resource identifiers.
data |
Constucts the raw data for the resource fork.
- (NSData *)data;
NSData for the resource fork containing all added resources.
Last Updated: Monday, November 17, 2008