ProjectManager  0.2
Instance Methods | List of all members
SubprojectsManager(Private) Category Reference

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...
 

Method Documentation

◆ internalSubprojectNames

- (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.

◆ pathToSubprojectFile:

- (NSString *) pathToSubprojectFile: (NSDictionary *)  subprojectDescription

Returns a path to the subproject file of the subproject described by the argument dictionary.

Parameters
subprojectDescriptionA dictionary describing the subproject, formatted like the contents of the ‘subprojects’ ivar.
Returns
A path to the subproject's project file.

◆ subprojectNamesInArray:

- (NSMutableArray *) subprojectNamesInArray: (NSArray *)  array

Recursively lists all project names under the specified category contents array.

Parameters
arrayAn array of subproject and subcategory descriptions, as contained in the ‘subprojects’ ivar.
Returns
An array of subproject names under the given array.

◆ wipeSubprojectsFromCategory:

- (BOOL) wipeSubprojectsFromCategory: (NSMutableArray *)  contentsArray

Deletes the subprojects contained in a category's contents array (and subcategories recursively as well) from disk.

Parameters
contentsArrayThe contents array of the top-level category which to wipe of subprojects.
Returns
YES if the operation succeeds, NO if it doesn't.

The documentation for this category was generated from the following file: