C# Класс Monobjc.Tools.Xcode.XcodeProject

Wraps a Xcode project.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetFileType PBXFileType

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetFileType ( String file ) : PBXFileType

Gets the type of the file.

Описание методов

AddFile() публичный Метод

Adds the file.
public AddFile ( String groups, String file ) : PBXFileElement
groups String The groups.
file String The file.
Результат PBXFileElement

AddFile() публичный Метод

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.
Результат PBXFileElement

AddGroup() публичный Метод

Adds the group.
public AddGroup ( String groups ) : PBXGroup
groups String The group path.
Результат PBXGroup

ClearGroup() публичный Метод

Gets the group.
public ClearGroup ( String groups ) : void
groups String The group path.
Результат void

Delete() публичный Метод

Delete the xcodeproj bundle and project file.
public Delete ( ) : void
Результат void

GetGroup() публичный Метод

Gets the group.
public GetGroup ( String groups ) : PBXGroup
groups String The group path.
Результат PBXGroup

RemoveFile() публичный Метод

Removes the file.
public RemoveFile ( String groups, String file ) : PBXFileReference
groups String The groups.
file String The file.
Результат PBXFileReference

RemoveGroup() публичный Метод

Removes the group.
public RemoveGroup ( String groups ) : PBXGroup
groups String The groups.
Результат PBXGroup

Save() публичный Метод

Saves the project; create the xcodeproj bundle and write the project file.
public Save ( ) : void
Результат void

XcodeProject() публичный Метод

Initializes a new instance of the XcodeProject class.
public XcodeProject ( String dir, string name ) : System
dir String The dir.
name string The name.
Результат System