C# Class Monobjc.Tools.Xcode.XcodeProject

Wraps a Xcode project.
Afficher le fichier Open project: Monobjc/monobjc-tools Class Usage Examples

Private Properties

Свойство Type Description
GetFileType PBXFileType

Méthodes publiques

Méthode Description
AddFile ( String groups, String file ) : PBXFileElement

Adds the file.

AddFile ( String groups, String file, PBXSourceTree sourceTree ) : PBXFileElement

Adds the file.

AddGroup ( String groups ) : PBXGroup

Adds the group.

ClearGroup ( String groups ) : void

Gets the group.

Delete ( ) : void

Delete the xcodeproj bundle and project file.

GetGroup ( String groups ) : PBXGroup

Gets the group.

RemoveFile ( String groups, String file ) : PBXFileReference

Removes the file.

RemoveGroup ( String groups ) : PBXGroup

Removes the group.

Save ( ) : void

Saves the project; create the xcodeproj bundle and write the project file.

XcodeProject ( String dir, string name ) : System

Initializes a new instance of the XcodeProject class.

Private Methods

Méthode Description
GetFileType ( String file ) : PBXFileType

Gets the type of the file.

Method Details

AddFile() public méthode

Adds the file.
public AddFile ( String groups, String file ) : PBXFileElement
groups String The groups.
file String The file.
Résultat PBXFileElement

AddFile() public méthode

Adds the file.
public AddFile ( String groups, String file, PBXSourceTree sourceTree ) : PBXFileElement
groups String The groups.
file String The file.
sourceTree PBXSourceTree The source tree.
Résultat PBXFileElement

AddGroup() public méthode

Adds the group.
public AddGroup ( String groups ) : PBXGroup
groups String The group path.
Résultat PBXGroup

ClearGroup() public méthode

Gets the group.
public ClearGroup ( String groups ) : void
groups String The group path.
Résultat void

Delete() public méthode

Delete the xcodeproj bundle and project file.
public Delete ( ) : void
Résultat void

GetGroup() public méthode

Gets the group.
public GetGroup ( String groups ) : PBXGroup
groups String The group path.
Résultat PBXGroup

RemoveFile() public méthode

Removes the file.
public RemoveFile ( String groups, String file ) : PBXFileReference
groups String The groups.
file String The file.
Résultat PBXFileReference

RemoveGroup() public méthode

Removes the group.
public RemoveGroup ( String groups ) : PBXGroup
groups String The groups.
Résultat PBXGroup

Save() public méthode

Saves the project; create the xcodeproj bundle and write the project file.
public Save ( ) : void
Résultat void

XcodeProject() public méthode

Initializes a new instance of the XcodeProject class.
public XcodeProject ( String dir, string name ) : System
dir String The dir.
name string The name.
Résultat System