ProjectManager
0.2
|
Instance Methods | |
(BOOL) | - validateControl: |
(NSMutableArray *) | - subprojectNamesInArray: |
Recursively lists all project names under the specified category contents array. More... | |
(NSString *) | - pathToSubprojectFile: |
Returns a path to the subproject file of the subproject described by the argument dictionary. More... | |
(NSMutableArray *) | - currentCategoryContentsArray |
Returns the category contents array of the category which contains the currently selected item, or the item's contents array if the item selected is a category itself. | |
(NSMutableArray *) | - parentCategoryContentsArray |
Returns the category contents array of the category which contains the currently selected item, but never the current item, even if it is a category. | |
(NSMutableArray *) | - internalSubprojectNames |
Returns a mutable array of subproject names. More... | |
(BOOL) | - wipeSubprojectsFromCategory: |
Deletes the subprojects contained in a category's contents array (and subcategories recursively as well) from disk. More... | |
- (NSMutableArray *) internalSubprojectNames |
Returns a mutable array of subproject names.
This method is here for internal purposes, when we need a mutable version of the array, instead of an immutable one.
References subprojectNamesInArray:.
- (NSString *) pathToSubprojectFile: | (NSDictionary *) | subprojectDescription |
Returns a path to the subproject file of the subproject described by the argument dictionary.
subprojectDescription | A dictionary describing the subproject, formatted like the contents of the ‘subprojects’ ivar. |
Referenced by wipeSubprojectsFromCategory:.
- (NSMutableArray *) subprojectNamesInArray: | (NSArray *) | array |
Recursively lists all project names under the specified category contents array.
array | An array of subproject and subcategory descriptions, as contained in the ‘subprojects’ ivar. |
References subprojectNamesInArray:.
Referenced by internalSubprojectNames, and subprojectNamesInArray:.
- (BOOL) wipeSubprojectsFromCategory: | (NSMutableArray *) | contentsArray |
Deletes the subprojects contained in a category's contents array (and subcategories recursively as well) from disk.
contentsArray | The contents array of the top-level category which to wipe of subprojects. |
References pathToSubprojectFile:.