void AddFilesAndFolders(FilesAndFolderChanges changes) { foreach (var entry in changes.Entries) { _pbxproj.AddFileOrFolder(entry); } }
public void Merge(FilesAndFolderChanges other) { foreach (var entry in other._entries) { if (_entries.FindIndex(o => o.Path == entry.Path) < 0) { _entries.Add(entry.Clone()); } } }
public XcodeChangeFile() { IsDirty = false; SavePath = ""; Platform = BuildPlatform.iOS; Frameworks = new FrameworkChanges(); FilesAndFolders = new FilesAndFolderChanges(); Scripts = new ScriptChanges(); BuildSettings = new BuildSettingsChanges(); InfoPlistChanges = new PListDictionary(); Signing = new SigningChanges(); Capabilities = new CapabilitiesChanges(); }
void LoadFilesAndFolders(PListDictionary dic) { if (dic == null) { return; } try { FilesAndFolders = new FilesAndFolderChanges(dic); } catch { Debug.LogWarning("EgoXproject: Corrupt files and folders section in " + SavePath); } }