# IBProjects documentation

### Authors

Generated by heron

# Software documentation for the IBProjects protocol

## IBProjects

> Declared in:
>   InterfaceBuilder/IBProjects.h

> Conforms to:
>   NSObject

Description forthcoming.
Method summary

- -applicationIconForInterfaceStyle:inLanguage:
- -containsFileAtPath:
- -filesForFileType:
- -isAncestorOfProject:
- -isDescendantOfProject:
- -isLive
- -languageForFileAtPath:
- -mainNibFileForInterfaceStyle:inLanguage:
- -pathForFilename:
- -projectDirectory
- -projectManager
- -projectName
- -rootProject
- -subprojects
- -superproject

### applicationIconForInterfaceStyle: inLanguage:

- (id) applicationIconForInterfaceStyle: (NSInterfaceStyle)style inLanguage: (NSString*)lang;
Called to retrieve the application icon to be used for the interface/language combination.

### containsFileAtPath:

- (BOOL) containsFileAtPath: (NSString*)path;
Returns `YES`, if the file is in the given path.

### filesForFileType:

- (NSArray*) filesForFileType: (NSString*)type;
Returns an array containing the list of files of that filetype in the project.

### isAncestorOfProject:

- (BOOL) isAncestorOfProject: (id<IBProjects>)child;
Returns `YES`, if child is a child of the reciever.

### isDescendantOfProject:

- (BOOL) isDescendantOfProject: (id<IBProjects>)parent;
Returns `YES`, if parent is a parent of the receiver.

### isLive

- (BOOL) isLive;
Is there currently a connection to the project.

### languageForFileAtPath:

- (NSString*) languageForFileAtPath: (NSString*)path;
Returns the language for the file at the given path.

### mainNibFileForInterfaceStyle: inLanguage:

- (id) mainNibFileForInterfaceStyle: (NSInterfaceStyle)style inLanguage: (NSString*)lang;
Returns the nib for the interface/style combination.

### pathForFilename:

- (NSString*) pathForFilename: (NSString*)filename;
Locates and returns the location of filename within the receiver.

### projectDirectory

- (NSString*) projectDirectory;
Returns the full path for the project directory.

### projectManager

- (id) projectManager;
Returns the project manager object.

### projectName

- (NSString*) projectName;
The name of the project.

### rootProject

- (id<IBProjects>) rootProject;
The topmost project in the project hierarchy containing the receiver.

### subprojects

- (NSArray*) subprojects;
Any and all direct subjects of this project.

### superproject

- (id<IBProjects>) superproject;
The project which is the direct parent of the receiver.