Skip to content

Commit

Permalink
Added Objective-C demo
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisbirchdev committed Apr 29, 2021
1 parent 66a9da3 commit 53b2d45
Show file tree
Hide file tree
Showing 19 changed files with 1,645 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Simple Analytics.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,372 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
D836625226371154002175FA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D836625126371154002175FA /* AppDelegate.m */; };
D836625526371154002175FA /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D836625426371154002175FA /* ViewController.m */; };
D836625726371155002175FA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D836625626371155002175FA /* Assets.xcassets */; };
D836625A26371155002175FA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D836625826371155002175FA /* Main.storyboard */; };
D836625D26371155002175FA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D836625C26371155002175FA /* main.m */; };
D8366281263718A7002175FA /* SimpleAnalytics in Frameworks */ = {isa = PBXBuildFile; productRef = D8366280263718A7002175FA /* SimpleAnalytics */; settings = {ATTRIBUTES = (Required, ); }; };
D8D9A7C4263B2EC1004D092C /* AnalyticsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D8D9A7C2263B2EC1004D092C /* AnalyticsManager.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
D836624D26371154002175FA /* SimpleAnalyticsDemo-ObjC.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SimpleAnalyticsDemo-ObjC.app"; sourceTree = BUILT_PRODUCTS_DIR; };
D836625026371154002175FA /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
D836625126371154002175FA /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
D836625326371154002175FA /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
D836625426371154002175FA /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
D836625626371155002175FA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
D836625926371155002175FA /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
D836625B26371155002175FA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
D836625C26371155002175FA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
D836625E26371155002175FA /* AnalyticsDemo-ObjC.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "AnalyticsDemo-ObjC.entitlements"; sourceTree = "<group>"; };
D8D9A7C2263B2EC1004D092C /* AnalyticsManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AnalyticsManager.m; sourceTree = "<group>"; };
D8D9A7C3263B2EC1004D092C /* AnalyticsManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AnalyticsManager.h; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
D836624A26371154002175FA /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D8366281263718A7002175FA /* SimpleAnalytics in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
D836624426371153002175FA = {
isa = PBXGroup;
children = (
D836624F26371154002175FA /* SimpleAnalyticsDemo-ObjC */,
D836624E26371154002175FA /* Products */,
D836627F263718A7002175FA /* Frameworks */,
);
sourceTree = "<group>";
};
D836624E26371154002175FA /* Products */ = {
isa = PBXGroup;
children = (
D836624D26371154002175FA /* SimpleAnalyticsDemo-ObjC.app */,
);
name = Products;
sourceTree = "<group>";
};
D836624F26371154002175FA /* SimpleAnalyticsDemo-ObjC */ = {
isa = PBXGroup;
children = (
D836625026371154002175FA /* AppDelegate.h */,
D836625126371154002175FA /* AppDelegate.m */,
D836625326371154002175FA /* ViewController.h */,
D836625426371154002175FA /* ViewController.m */,
D8D9A7C3263B2EC1004D092C /* AnalyticsManager.h */,
D8D9A7C2263B2EC1004D092C /* AnalyticsManager.m */,
D836625626371155002175FA /* Assets.xcassets */,
D836625826371155002175FA /* Main.storyboard */,
D836625B26371155002175FA /* Info.plist */,
D836625C26371155002175FA /* main.m */,
D836625E26371155002175FA /* AnalyticsDemo-ObjC.entitlements */,
);
path = "SimpleAnalyticsDemo-ObjC";
sourceTree = "<group>";
};
D836627F263718A7002175FA /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
D836624C26371154002175FA /* SimpleAnalyticsDemo-ObjC */ = {
isa = PBXNativeTarget;
buildConfigurationList = D836626126371155002175FA /* Build configuration list for PBXNativeTarget "SimpleAnalyticsDemo-ObjC" */;
buildPhases = (
D836624926371154002175FA /* Sources */,
D836624A26371154002175FA /* Frameworks */,
D836624B26371154002175FA /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "SimpleAnalyticsDemo-ObjC";
packageProductDependencies = (
D8366280263718A7002175FA /* SimpleAnalytics */,
);
productName = AnalyticsTesting;
productReference = D836624D26371154002175FA /* SimpleAnalyticsDemo-ObjC.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
D836624526371153002175FA /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1250;
TargetAttributes = {
D836624C26371154002175FA = {
CreatedOnToolsVersion = 12.4;
LastSwiftMigration = 1250;
};
};
};
buildConfigurationList = D836624826371153002175FA /* Build configuration list for PBXProject "SimpleAnalyticsDemo-ObjC" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = D836624426371153002175FA;
packageReferences = (
);
productRefGroup = D836624E26371154002175FA /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
D836624C26371154002175FA /* SimpleAnalyticsDemo-ObjC */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
D836624B26371154002175FA /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D836625726371155002175FA /* Assets.xcassets in Resources */,
D836625A26371155002175FA /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
D836624926371154002175FA /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D8D9A7C4263B2EC1004D092C /* AnalyticsManager.m in Sources */,
D836625526371154002175FA /* ViewController.m in Sources */,
D836625D26371155002175FA /* main.m in Sources */,
D836625226371154002175FA /* AppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
D836625826371155002175FA /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
D836625926371155002175FA /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
D836625F26371155002175FA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 11.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
D836626026371155002175FA /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 11.1;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
};
name = Release;
};
D836626226371155002175FA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "AnalyticsDemo-ObjC/AnalyticsDemo-ObjC.entitlements";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = B75Q6TLYBM;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "SimpleAnalyticsDemo-ObjC/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.dennisbirch.SimpleAnalyticsDemo-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
D836626326371155002175FA /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "AnalyticsDemo-ObjC/AnalyticsDemo-ObjC.entitlements";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = B75Q6TLYBM;
ENABLE_HARDENED_RUNTIME = YES;
INFOPLIST_FILE = "SimpleAnalyticsDemo-ObjC/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.dennisbirch.SimpleAnalyticsDemo-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
D836624826371153002175FA /* Build configuration list for PBXProject "SimpleAnalyticsDemo-ObjC" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D836625F26371155002175FA /* Debug */,
D836626026371155002175FA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D836626126371155002175FA /* Build configuration list for PBXNativeTarget "SimpleAnalyticsDemo-ObjC" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D836626226371155002175FA /* Debug */,
D836626326371155002175FA /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
D8366280263718A7002175FA /* SimpleAnalytics */ = {
isa = XCSwiftPackageProductDependency;
productName = SimpleAnalytics;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = D836624526371153002175FA /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit 53b2d45

Please sign in to comment.