Skip to content

Commit

Permalink
fix: remove unnecessary objc members
Browse files Browse the repository at this point in the history
  • Loading branch information
melloskitten committed Oct 29, 2019
1 parent a399b43 commit 9d02133
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 3 deletions.
1 change: 0 additions & 1 deletion CoatySwift/Classes/Common/CoatyUUID.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Foundation
/// Custom implementation of a UUID that actually is compatible with the RFC
/// specification of sending UUIDs over the network (lowercase in contrast to Apple's
/// uppercase implementation).
@objcMembers
public class CoatyUUID: NSObject, Codable {

private var uuid: UUID
Expand Down
1 change: 0 additions & 1 deletion CoatySwift/Classes/Model/Core Types/CoatyObject.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public let COATY_OBJECT_TYPE_NAMESPACE_PREFIX = "coaty."

/// The base type of all objects in the Coaty object model. Application-specific object types
/// extend either CoatyObject directly or any of its derived core types.
@objcMembers
open class CoatyObject: NSObject, Codable {

// MARK: - Required attributes.
Expand Down
1 change: 0 additions & 1 deletion CoatySwift/Classes/Model/Core Types/Task.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ open class Task: CoatyObject {
}

/// Predefined status values of Task objects.
@objc
public enum TaskStatus: Int, Codable, CaseIterable {

/// Initial state of a new task.
Expand Down
77 changes: 77 additions & 0 deletions Example/CoatySwift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
324EF74B74AC590DBAB043C8 /* Pods_HelloCoaty.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E2E05C27E17ABABF721E10E /* Pods_HelloCoaty.framework */; };
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
Expand All @@ -19,38 +20,51 @@

/* Begin PBXFileReference section */
0E082A6916A9EE8CD84E196D /* CoatySwift.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CoatySwift.podspec; path = ../CoatySwift.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
1E2E05C27E17ABABF721E10E /* Pods_HelloCoaty.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HelloCoaty.framework; sourceTree = BUILT_PRODUCTS_DIR; };
607FACD01AFB9204008FA782 /* HelloCoaty.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloCoaty.app; sourceTree = BUILT_PRODUCTS_DIR; };
607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
86A182F53329BC86F7FF647E /* Pods-HelloCoaty.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloCoaty.release.xcconfig"; path = "Target Support Files/Pods-HelloCoaty/Pods-HelloCoaty.release.xcconfig"; sourceTree = "<group>"; };
9914431535FD0B653582AF30 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
ADEEFD5354A32F3127D3F18E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
BCB21F17235F27130062A498 /* ExampleObject.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleObject.swift; sourceTree = "<group>"; };
BCB21F19235F274F0062A498 /* ExampleObjectFamily.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleObjectFamily.swift; sourceTree = "<group>"; };
BCB21F1B235F28E40062A498 /* ExampleControllerPublish.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleControllerPublish.swift; sourceTree = "<group>"; };
BCB21F1D235F297D0062A498 /* ExampleControllerObserve.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExampleControllerObserve.swift; sourceTree = "<group>"; };
FFE767B4036C63677AB8320E /* Pods-HelloCoaty.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloCoaty.debug.xcconfig"; path = "Target Support Files/Pods-HelloCoaty/Pods-HelloCoaty.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
607FACCD1AFB9204008FA782 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
324EF74B74AC590DBAB043C8 /* Pods_HelloCoaty.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
0D2EE68BD01597307B60D296 /* Frameworks */ = {
isa = PBXGroup;
children = (
1E2E05C27E17ABABF721E10E /* Pods_HelloCoaty.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
607FACC71AFB9204008FA782 = {
isa = PBXGroup;
children = (
607FACF51AFB993E008FA782 /* Podspec Metadata */,
607FACD21AFB9204008FA782 /* HelloCoaty */,
607FACD11AFB9204008FA782 /* Products */,
A18E0B7BEEEB3BB7E24B2FCF /* Pods */,
0D2EE68BD01597307B60D296 /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -100,6 +114,8 @@
A18E0B7BEEEB3BB7E24B2FCF /* Pods */ = {
isa = PBXGroup;
children = (
FFE767B4036C63677AB8320E /* Pods-HelloCoaty.debug.xcconfig */,
86A182F53329BC86F7FF647E /* Pods-HelloCoaty.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
Expand All @@ -111,9 +127,11 @@
isa = PBXNativeTarget;
buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "HelloCoaty" */;
buildPhases = (
9222AA8044A8678D1B3CC9E7 /* [CP] Check Pods Manifest.lock */,
607FACCC1AFB9204008FA782 /* Sources */,
607FACCD1AFB9204008FA782 /* Frameworks */,
607FACCE1AFB9204008FA782 /* Resources */,
9DD12299760E1288970B75F5 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -173,6 +191,63 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
9222AA8044A8678D1B3CC9E7 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-HelloCoaty-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
9DD12299760E1288970B75F5 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-HelloCoaty/Pods-HelloCoaty-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/CoatySwift/CoatySwift.framework",
"${BUILT_PRODUCTS_DIR}/CocoaAsyncSocket/CocoaAsyncSocket.framework",
"${BUILT_PRODUCTS_DIR}/CocoaMQTT/CocoaMQTT.framework",
"${BUILT_PRODUCTS_DIR}/ObjcExceptionBridging/ObjcExceptionBridging.framework",
"${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework",
"${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework",
"${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework",
"${BUILT_PRODUCTS_DIR}/XCGLogger/XCGLogger.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CoatySwift.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CocoaAsyncSocket.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CocoaMQTT.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjcExceptionBridging.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRelay.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/XCGLogger.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HelloCoaty/Pods-HelloCoaty-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
607FACCC1AFB9204008FA782 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down Expand Up @@ -309,6 +384,7 @@
};
607FACF01AFB9204008FA782 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = FFE767B4036C63677AB8320E /* Pods-HelloCoaty.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 45E39Y8V9N;
Expand All @@ -323,6 +399,7 @@
};
607FACF11AFB9204008FA782 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 86A182F53329BC86F7FF647E /* Pods-HelloCoaty.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
DEVELOPMENT_TEAM = 45E39Y8V9N;
Expand Down

0 comments on commit 9d02133

Please sign in to comment.