Skip to content

Commit 320ccfd

Browse files
committed
making classes public
1 parent 442dbda commit 320ccfd

14 files changed

Lines changed: 11 additions & 16 deletions

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# XcodeProject.framework
2-
This framework allows you to read/write Xcode project files (xcodeproj) from a Swift application.
2+
This framework allows you to read/write Xcode project files (xcodeproj) and workspaces (xcworkspace) from a Swift application.
33

44
Goals of the project are to not only be able to read and write a project file exactly as Xcode would but to allow the creation of new projects and the manipulation of existing ones.
55

6-
The framework itself is still in the early phases of development.
7-
86
## Credit
97
GlobalID generation code was ported from https://github.com/mikr/xcodeprojer
108

XcodeProject/Objects/Build Phases/PBXCopyFilesBuildPhase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2017 Geoffrey Foster. All rights reserved.
77
//
88

9-
final class PBXCopyFilesBuildPhase: PBXBuildPhase {
9+
public final class PBXCopyFilesBuildPhase: PBXBuildPhase {
1010
class override var defaultName: String {
1111
return "Copy Files"
1212
}

XcodeProject/Objects/Build Phases/PBXFrameworksBuildPhase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010

11-
final class PBXFrameworksBuildPhase: PBXBuildPhase {
11+
public final class PBXFrameworksBuildPhase: PBXBuildPhase {
1212
class override var defaultName: String {
1313
return "Link Binary With Libraries"
1414
}

XcodeProject/Objects/Build Phases/PBXHeadersBuildPhase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2017 Geoffrey Foster. All rights reserved.
77
//
88

9-
final class PBXHeadersBuildPhase: PBXBuildPhase {
9+
public final class PBXHeadersBuildPhase: PBXBuildPhase {
1010
class override var defaultName: String {
1111
return "Copy Headers"
1212
}

XcodeProject/Objects/Build Phases/PBXResourcesBuildPhase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2017 Geoffrey Foster. All rights reserved.
77
//
88

9-
final class PBXResourcesBuildPhase: PBXBuildPhase {
9+
public final class PBXResourcesBuildPhase: PBXBuildPhase {
1010
class override var defaultName: String {
1111
return "Copy Bundle Resources"
1212
}

XcodeProject/Objects/Build Phases/PBXShellScriptBuildPhase.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2017 Geoffrey Foster. All rights reserved.
77
//
88

9-
class PBXShellScriptBuildPhase: PBXBuildPhase {
9+
public final class PBXShellScriptBuildPhase: PBXBuildPhase {
1010
var inputPaths: [String] = []
1111
var outputPaths: [String] = []
1212
var shellPath: String?

XcodeProject/Objects/PBXBuildFile.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public final class PBXBuildFile: PBXObject {
1616
didSet {
1717
oldValue?.unregister(buildFile: self)
1818
fileRef?.register(buildFile: self)
19-
//fileRef?.parent = self
2019
}
2120
}
2221
var settings: [String: Any]?

XcodeProject/Objects/PBXFileType.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public extension PBXFileType {
4040
}
4141

4242
static func fileType(filePath: String) -> PBXFileType? {
43-
// FileManager.default.attributesOfItem(atPath: <#T##String#>)
4443
let fileExtension = (filePath as NSString).pathExtension
4544
return fileType(fileExtension: fileExtension)
4645
}

XcodeProject/Objects/References/PBXFileReference.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010

11-
public class PBXFileReference: PBXReference {
11+
public final class PBXFileReference: PBXReference {
1212
public enum FileType {
1313
case lastKnown(String)
1414
case explicit(String)

XcodeProject/Objects/References/PBXReferenceProxy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Copyright © 2017 Geoffrey Foster. All rights reserved.
77
//
88

9-
public class PBXReferenceProxy: PBXReference {
9+
public final class PBXReferenceProxy: PBXReference {
1010
var fileType: String? //PBXFileType
1111
var remoteRef: PBXContainerItemProxy? {
1212
didSet {

0 commit comments

Comments
 (0)