C# Class Monobjc.Tools.Xcode.XcodeProject

Wraps a Xcode project.
Datei anzeigen Open project: Monobjc/monobjc-tools Class Usage Examples

Private Properties

Property Type Description
GetFileType PBXFileType

Public Methods

Method 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

Method Description
GetFileType ( String file ) : PBXFileType

Gets the type of the file.

Method Details

AddFile() public method

Adds the file.
public AddFile ( String groups, String file ) : PBXFileElement
groups String The groups.
file String The file.
return PBXFileElement

AddFile() public method

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

AddGroup() public method

Adds the group.
public AddGroup ( String groups ) : PBXGroup
groups String The group path.
return PBXGroup

ClearGroup() public method

Gets the group.
public ClearGroup ( String groups ) : void
groups String The group path.
return void

Delete() public method

Delete the xcodeproj bundle and project file.
public Delete ( ) : void
return void

GetGroup() public method

Gets the group.
public GetGroup ( String groups ) : PBXGroup
groups String The group path.
return PBXGroup

RemoveFile() public method

Removes the file.
public RemoveFile ( String groups, String file ) : PBXFileReference
groups String The groups.
file String The file.
return PBXFileReference

RemoveGroup() public method

Removes the group.
public RemoveGroup ( String groups ) : PBXGroup
groups String The groups.
return PBXGroup

Save() public method

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

XcodeProject() public method

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