Below is a quick reference for the BDAlias class.

Instance Methods
initWithAliasHandle:
initWithData:
initWithPath:
initWithPath:relativeToPath:
initWithFSRef:
initWithFSRef:relativeToFSRef:
dealloc
alias
setAlias:
aliasData
setAliasData:
fullPath
fullPathRelativeToPath:

Class Methods
aliasWithAliasHandle:
aliasWithData:
aliasWithPath:
aliasWithPath:relativeToPath:
aliasWithFSRef:
aliasWithFSRef:relativeToFSRef:

- (id)initWithAliasHandle:(AliasHandle)alias
Initializes an alias object with the contents of a Carbon alias handle.  This is the designated initializer.

- (id)initWithData:(NSData *)data
Initializes an alias object with the contents of a data object.

- (id)initWithPath:(NSString *)fullPath
Initializes an alias object to point to the object at the given path in the filesystem.

- (id)initWithPath:(NSString *)path relativeToPath:(NSString *)relPath
Initializes an alias object to point to the object at the given path in the filesystem, relative to the given relative path.

- (id)initWithFSRef:(FSRef *)ref
Initializes an alias object to point to the object represented by the given Carbon FSRef.

- (id)initWithFSRef:(FSRef *)ref relativeToFSRef:(FSRef *)relRef
Initializes an alias object to point to the object represented by the given Carbon FSRef, relative to the given relative Carbon FSRef.

- (void)dealloc
Releases resources held by an instance.

- (AliasHandle)alias
Returns the internal Carbon alias handle used by an instance.

- (void)setAlias:(AliasHandle)newAlias
Sets the internal Carbon alias handle used by an instance, releasing the previous alias handle (if any).

- (NSData *)aliasData
Returns an autoreleased data object containing a copy of the alias data in this object.

- (void)setAliasData:(NSData *)newAliasData
Sets the alias to use the alias record stored in the given data object.  Discards any previous data.

- (NSString *)fullPath
Returns an autoreleased string containing the full path of the object pointed to by an alias.

- (NSString *)fullPathRelativeToPath:(NSString *)relPath
Returns an autoreleased string containing the full path of the object pointed to by an alias, resolved relative to the other given full path.

+ (BDAlias *)aliasWithAliasHandle:(AliasHandle)alias
Creates an autoreleased alias object with the contents of the given Carbon alias handle.

+ (BDAlias *)aliasWithData:(NSData *)data
Creates an autoreleased alias object with the contents of the given NSData object.

+ (BDAlias *)aliasWithPath:(NSString *)fullPath
Creates an autoreleased alias object pointing to the object at the given full path.

+ (BDAlias *)aliasWithPath:(NSString *)path relativeToPath:(NSString *)relPath
Creates an autoreleased alias object pointing to the object at the given path, relative to the given relative path.

+ (BDAlias *)aliasWithFSRef:(FSRef *)ref
Creates an autoreleased alias object pointing to the object at the given Carbon FSRef.

+ (BDAlias *)aliasWithFSRef:(FSREf *)ref relativeToFSRef:(FSRef *)relRef
Creates an autoreleased alias object pointing to the object at the given Carbon FSRef, relative to the given relative Carbon FSRef.