Browse Source

CHRTBarChartView

Jacob Christie 4 years ago
parent
commit
2b98bfa6ca

+ 504 - 0
Charts-Objc/Charts-Objc.xcodeproj/project.pbxproj

@@ -0,0 +1,504 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 50;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		22F037CD2546D99800C219E2 /* Charts_Objc.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22F037C32546D99800C219E2 /* Charts_Objc.framework */; };
+		22F037D22546D99800C219E2 /* Charts_ObjcTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22F037D12546D99800C219E2 /* Charts_ObjcTests.swift */; };
+		22F037D42546D99800C219E2 /* Charts_Objc.h in Headers */ = {isa = PBXBuildFile; fileRef = 22F037C62546D99800C219E2 /* Charts_Objc.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		22F037F12546D9D400C219E2 /* Charts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22F037F02546D9D400C219E2 /* Charts.framework */; };
+		22F037F22546D9D400C219E2 /* Charts.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 22F037F02546D9D400C219E2 /* Charts.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+		22F037FE2546DFB800C219E2 /* CHRTBarChartView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22F037FD2546DFB800C219E2 /* CHRTBarChartView.swift */; };
+		22F038072546E67F00C219E2 /* CHRTHorizontalBarChartView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22F038062546E67F00C219E2 /* CHRTHorizontalBarChartView.swift */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+		22F037CE2546D99800C219E2 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 22F037BA2546D99800C219E2 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 22F037C22546D99800C219E2;
+			remoteInfo = "Charts-Objc";
+		};
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+		22F037F32546D9D500C219E2 /* Embed Frameworks */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = "";
+			dstSubfolderSpec = 10;
+			files = (
+				22F037F22546D9D400C219E2 /* Charts.framework in Embed Frameworks */,
+			);
+			name = "Embed Frameworks";
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+		22F037C32546D99800C219E2 /* Charts_Objc.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Charts_Objc.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		22F037C62546D99800C219E2 /* Charts_Objc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Charts_Objc.h; sourceTree = "<group>"; };
+		22F037C72546D99800C219E2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		22F037CC2546D99800C219E2 /* Charts-ObjcTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Charts-ObjcTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
+		22F037D12546D99800C219E2 /* Charts_ObjcTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Charts_ObjcTests.swift; sourceTree = "<group>"; };
+		22F037D32546D99800C219E2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		22F037F02546D9D400C219E2 /* Charts.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Charts.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		22F037FD2546DFB800C219E2 /* CHRTBarChartView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CHRTBarChartView.swift; sourceTree = "<group>"; };
+		22F038062546E67F00C219E2 /* CHRTHorizontalBarChartView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CHRTHorizontalBarChartView.swift; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		22F037C02546D99800C219E2 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				22F037F12546D9D400C219E2 /* Charts.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		22F037C92546D99800C219E2 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				22F037CD2546D99800C219E2 /* Charts_Objc.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		22F037B92546D99800C219E2 = {
+			isa = PBXGroup;
+			children = (
+				22F037C52546D99800C219E2 /* Charts-Objc */,
+				22F037D02546D99800C219E2 /* Charts-ObjcTests */,
+				22F037C42546D99800C219E2 /* Products */,
+				22F037EF2546D9D400C219E2 /* Frameworks */,
+			);
+			sourceTree = "<group>";
+		};
+		22F037C42546D99800C219E2 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				22F037C32546D99800C219E2 /* Charts_Objc.framework */,
+				22F037CC2546D99800C219E2 /* Charts-ObjcTests.xctest */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		22F037C52546D99800C219E2 /* Charts-Objc */ = {
+			isa = PBXGroup;
+			children = (
+				22F037FC2546DFAB00C219E2 /* Charts */,
+				22F037C62546D99800C219E2 /* Charts_Objc.h */,
+				22F037C72546D99800C219E2 /* Info.plist */,
+			);
+			path = "Charts-Objc";
+			sourceTree = "<group>";
+		};
+		22F037D02546D99800C219E2 /* Charts-ObjcTests */ = {
+			isa = PBXGroup;
+			children = (
+				22F037D12546D99800C219E2 /* Charts_ObjcTests.swift */,
+				22F037D32546D99800C219E2 /* Info.plist */,
+			);
+			path = "Charts-ObjcTests";
+			sourceTree = "<group>";
+		};
+		22F037EF2546D9D400C219E2 /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				22F037F02546D9D400C219E2 /* Charts.framework */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
+		22F037FC2546DFAB00C219E2 /* Charts */ = {
+			isa = PBXGroup;
+			children = (
+				22F037FD2546DFB800C219E2 /* CHRTBarChartView.swift */,
+				22F038062546E67F00C219E2 /* CHRTHorizontalBarChartView.swift */,
+			);
+			path = Charts;
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXHeadersBuildPhase section */
+		22F037BE2546D99800C219E2 /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				22F037D42546D99800C219E2 /* Charts_Objc.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXHeadersBuildPhase section */
+
+/* Begin PBXNativeTarget section */
+		22F037C22546D99800C219E2 /* Charts-Objc */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 22F037D72546D99800C219E2 /* Build configuration list for PBXNativeTarget "Charts-Objc" */;
+			buildPhases = (
+				22F037BE2546D99800C219E2 /* Headers */,
+				22F037BF2546D99800C219E2 /* Sources */,
+				22F037C02546D99800C219E2 /* Frameworks */,
+				22F037C12546D99800C219E2 /* Resources */,
+				22F037F32546D9D500C219E2 /* Embed Frameworks */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = "Charts-Objc";
+			productName = "Charts-Objc";
+			productReference = 22F037C32546D99800C219E2 /* Charts_Objc.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		22F037CB2546D99800C219E2 /* Charts-ObjcTests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 22F037DA2546D99800C219E2 /* Build configuration list for PBXNativeTarget "Charts-ObjcTests" */;
+			buildPhases = (
+				22F037C82546D99800C219E2 /* Sources */,
+				22F037C92546D99800C219E2 /* Frameworks */,
+				22F037CA2546D99800C219E2 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				22F037CF2546D99800C219E2 /* PBXTargetDependency */,
+			);
+			name = "Charts-ObjcTests";
+			productName = "Charts-ObjcTests";
+			productReference = 22F037CC2546D99800C219E2 /* Charts-ObjcTests.xctest */;
+			productType = "com.apple.product-type.bundle.unit-test";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		22F037BA2546D99800C219E2 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastSwiftUpdateCheck = 1210;
+				LastUpgradeCheck = 1210;
+				TargetAttributes = {
+					22F037C22546D99800C219E2 = {
+						CreatedOnToolsVersion = 12.1;
+						LastSwiftMigration = 1210;
+					};
+					22F037CB2546D99800C219E2 = {
+						CreatedOnToolsVersion = 12.1;
+					};
+				};
+			};
+			buildConfigurationList = 22F037BD2546D99800C219E2 /* Build configuration list for PBXProject "Charts-Objc" */;
+			compatibilityVersion = "Xcode 9.3";
+			developmentRegion = en;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+				Base,
+			);
+			mainGroup = 22F037B92546D99800C219E2;
+			productRefGroup = 22F037C42546D99800C219E2 /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				22F037C22546D99800C219E2 /* Charts-Objc */,
+				22F037CB2546D99800C219E2 /* Charts-ObjcTests */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		22F037C12546D99800C219E2 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		22F037CA2546D99800C219E2 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		22F037BF2546D99800C219E2 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				22F038072546E67F00C219E2 /* CHRTHorizontalBarChartView.swift in Sources */,
+				22F037FE2546DFB800C219E2 /* CHRTBarChartView.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		22F037C82546D99800C219E2 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				22F037D22546D99800C219E2 /* Charts_ObjcTests.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+		22F037CF2546D99800C219E2 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 22F037C22546D99800C219E2 /* Charts-Objc */;
+			targetProxy = 22F037CE2546D99800C219E2 /* PBXContainerItemProxy */;
+		};
+/* End PBXTargetDependency section */
+
+/* Begin XCBuildConfiguration section */
+		22F037D52546D99800C219E2 /* 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;
+				CURRENT_PROJECT_VERSION = 1;
+				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;
+				IPHONEOS_DEPLOYMENT_TARGET = 14.1;
+				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+				MTL_FAST_MATH = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = iphoneos;
+				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Debug;
+		};
+		22F037D62546D99800C219E2 /* 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;
+				CURRENT_PROJECT_VERSION = 1;
+				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;
+				IPHONEOS_DEPLOYMENT_TARGET = 14.1;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				MTL_FAST_MATH = YES;
+				SDKROOT = iphoneos;
+				SWIFT_COMPILATION_MODE = wholemodule;
+				SWIFT_OPTIMIZATION_LEVEL = "-O";
+				VALIDATE_PRODUCT = YES;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+			};
+			name = Release;
+		};
+		22F037D82546D99800C219E2 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CLANG_ENABLE_MODULES = YES;
+				CODE_SIGN_STYLE = Automatic;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				INFOPLIST_FILE = "Charts-Objc/Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = (
+					"$(inherited)",
+					"@executable_path/Frameworks",
+					"@loader_path/Frameworks",
+				);
+				PRODUCT_BUNDLE_IDENTIFIER = "com.dcg.Charts-Objc";
+				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
+				SKIP_INSTALL = YES;
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+				SWIFT_VERSION = 5.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Debug;
+		};
+		22F037D92546D99800C219E2 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CLANG_ENABLE_MODULES = YES;
+				CODE_SIGN_STYLE = Automatic;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				INFOPLIST_FILE = "Charts-Objc/Info.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = (
+					"$(inherited)",
+					"@executable_path/Frameworks",
+					"@loader_path/Frameworks",
+				);
+				PRODUCT_BUNDLE_IDENTIFIER = "com.dcg.Charts-Objc";
+				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
+				SKIP_INSTALL = YES;
+				SWIFT_VERSION = 5.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Release;
+		};
+		22F037DB2546D99800C219E2 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
+				CODE_SIGN_STYLE = Automatic;
+				INFOPLIST_FILE = "Charts-ObjcTests/Info.plist";
+				LD_RUNPATH_SEARCH_PATHS = (
+					"$(inherited)",
+					"@executable_path/Frameworks",
+					"@loader_path/Frameworks",
+				);
+				PRODUCT_BUNDLE_IDENTIFIER = "com.dcg.Charts-ObjcTests";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SWIFT_VERSION = 5.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Debug;
+		};
+		22F037DC2546D99800C219E2 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
+				CODE_SIGN_STYLE = Automatic;
+				INFOPLIST_FILE = "Charts-ObjcTests/Info.plist";
+				LD_RUNPATH_SEARCH_PATHS = (
+					"$(inherited)",
+					"@executable_path/Frameworks",
+					"@loader_path/Frameworks",
+				);
+				PRODUCT_BUNDLE_IDENTIFIER = "com.dcg.Charts-ObjcTests";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SWIFT_VERSION = 5.0;
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		22F037BD2546D99800C219E2 /* Build configuration list for PBXProject "Charts-Objc" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				22F037D52546D99800C219E2 /* Debug */,
+				22F037D62546D99800C219E2 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		22F037D72546D99800C219E2 /* Build configuration list for PBXNativeTarget "Charts-Objc" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				22F037D82546D99800C219E2 /* Debug */,
+				22F037D92546D99800C219E2 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		22F037DA2546D99800C219E2 /* Build configuration list for PBXNativeTarget "Charts-ObjcTests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				22F037DB2546D99800C219E2 /* Debug */,
+				22F037DC2546D99800C219E2 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = 22F037BA2546D99800C219E2 /* Project object */;
+}

+ 90 - 0
Charts-Objc/Charts-Objc/Charts/CHRTBarChartView.swift

@@ -0,0 +1,90 @@
+//
+//  CHRTBarChartView.swift
+//  Charts-Objc
+//
+//  Created by Jacob Christie on 2020-10-26.
+//
+
+import Charts
+
+@objc
+@objcMembers
+open class CHRTBarChartView: Charts.BarChartView {
+    // MARK: - Properties
+
+    open override var barData: BarChartData? {
+        get { super.data as? BarChartData }
+    }
+
+    /// if set to true, all values are drawn above their bars, instead of below their top
+    open override var drawValueAboveBarEnabled: Bool {
+        get { super.drawValueAboveBarEnabled }
+        set { super.drawValueAboveBarEnabled = newValue }
+    }
+
+    /// if set to true, a grey area is drawn behind each bar that indicates the maximum value
+    open override var drawBarShadowEnabled: Bool {
+        get { super.drawBarShadowEnabled }
+        set { super.drawBarShadowEnabled = newValue }
+    }
+
+    /// Adds half of the bar width to each side of the x-axis range in order to allow the bars of the barchart to be fully displayed.
+    /// **default**: false
+    open override var fitBars: Bool {
+        get { super.fitBars }
+        set { super.fitBars = newValue }
+    }
+
+    /// Set this to `true` to make the highlight operation full-bar oriented, `false` to make it highlight single values (relevant only for stacked).
+    /// If enabled, highlighting operations will highlight the whole bar, even if only a single stack entry was tapped.
+    open override var highlightFullBarEnabled: Bool {
+        get { super.highlightFullBarEnabled }
+        set { super.highlightFullBarEnabled = newValue }
+    }
+
+    // MARK: - Methods
+
+    /// - Returns: The Highlight object (contains x-index and DataSet index) of the selected value at the given touch point inside the BarChart.
+    open override func getHighlightByTouchPoint(_ pt: CGPoint) -> Highlight? {
+        super.getHighlightByTouchPoint(pt)
+    }
+
+    /// - Returns: The bounding box of the specified Entry in the specified DataSet. Returns null if the Entry could not be found in the charts data.
+    open override func getBarBounds(entry e: BarChartDataEntry) -> CGRect {
+        super.getBarBounds(entry: e)
+    }
+
+    /// Groups all BarDataSet objects this data object holds together by modifying the x-value of their entries.
+    /// Previously set x-values of entries will be overwritten. Leaves space between bars and groups as specified by the parameters.
+    /// Calls `notifyDataSetChanged()` afterwards.
+    ///
+    /// - Parameters:
+    ///   - fromX: the starting point on the x-axis where the grouping should begin
+    ///   - groupSpace: the space between groups of bars in values (not pixels) e.g. 0.8f for bar width 1f
+    ///   - barSpace: the space between individual bars in values (not pixels) e.g. 0.1f for bar width 1f
+    open override func groupBars(
+        fromX x: Double,
+        groupSpace: Double,
+        barSpace: Double
+    ) {
+        super.groupBars(fromX: x, groupSpace: groupSpace, barSpace: barSpace)
+    }
+
+    /// Highlights the value at the given x-value in the given DataSet. Provide -1 as the dataSetIndex to undo all highlighting.
+    ///
+    /// - Parameters:
+    ///   - x:
+    ///   - dataSetIndex:
+    ///   - stackIndex: the index inside the stack - only relevant for stacked entries
+    open override func highlightValue(
+        x: Double,
+        dataSetIndex: Int,
+        stackIndex: Int
+    ) {
+        super.highlightValue(
+            x: x,
+            dataSetIndex: dataSetIndex,
+            stackIndex: stackIndex
+        )
+    }
+}

+ 113 - 0
Charts-Objc/Charts-Objc/Charts/CHRTHorizontalBarChartView.swift

@@ -0,0 +1,113 @@
+//
+//  CHRTHorizontalBarChartView.swift
+//  Charts-Objc
+//
+//  Created by Jacob Christie on 2020-10-26.
+//
+
+import Charts
+
+@objc
+@objcMembers
+open class CHRTHorizontalBarChartView: Charts.HorizontalBarChartView {
+    // MARK: - Properties
+
+    open override var barData: BarChartData? {
+        get { super.data as? BarChartData }
+    }
+
+    /// if set to true, all values are drawn above their bars, instead of below their top
+    open override var drawValueAboveBarEnabled: Bool {
+        get { super.drawValueAboveBarEnabled }
+        set { super.drawValueAboveBarEnabled = newValue }
+    }
+
+    /// if set to true, a grey area is drawn behind each bar that indicates the maximum value
+    open override var drawBarShadowEnabled: Bool {
+        get { super.drawBarShadowEnabled }
+        set { super.drawBarShadowEnabled = newValue }
+    }
+
+    /// Adds half of the bar width to each side of the x-axis range in order to allow the bars of the barchart to be fully displayed.
+    /// **default**: false
+    open override var fitBars: Bool {
+        get { super.fitBars }
+        set { super.fitBars = newValue }
+    }
+
+    /// Set this to `true` to make the highlight operation full-bar oriented, `false` to make it highlight single values (relevant only for stacked).
+    /// If enabled, highlighting operations will highlight the whole bar, even if only a single stack entry was tapped.
+    open override var highlightFullBarEnabled: Bool {
+        get { super.highlightFullBarEnabled }
+        set { super.highlightFullBarEnabled = newValue }
+    }
+
+    open override var lowestVisibleX: Double {
+        super.lowestVisibleX
+    }
+
+    open override var highestVisibleX: Double {
+        super.highestVisibleX
+    }
+
+    // MARK: - Methods
+
+    open override func getMarkerPosition(highlight: Highlight) -> CGPoint {
+        super.getMarkerPosition(highlight: highlight)
+    }
+
+    open override func getBarBounds(entry e: BarChartDataEntry) -> CGRect {
+        super.getBarBounds(entry: e)
+    }
+
+    open override func getPosition(
+        entry e: ChartDataEntry,
+        axis: YAxis.AxisDependency
+    ) -> CGPoint {
+        super.getPosition(entry: e, axis: axis)
+    }
+
+    open override func getHighlightByTouchPoint(_ pt: CGPoint) -> Highlight? {
+        super.getHighlightByTouchPoint(pt)
+    }
+
+    // MARK: - Viewport
+
+    open override func setVisibleXRangeMaximum(_ maxXRange: Double) {
+        super.setVisibleXRangeMaximum(maxXRange)
+    }
+
+    open override func setVisibleXRangeMinimum(_ minXRange: Double) {
+        super.setVisibleXRangeMinimum(minXRange)
+    }
+
+    open override func setVisibleXRange(minXRange: Double, maxXRange: Double) {
+        super.setVisibleXRange(minXRange: minXRange, maxXRange: maxXRange)
+    }
+
+    open override func setVisibleYRangeMaximum(
+        _ maxYRange: Double,
+        axis: YAxis.AxisDependency
+    ) {
+        super.setVisibleYRangeMaximum(maxYRange, axis: axis)
+    }
+
+    open override func setVisibleYRangeMinimum(
+        _ minYRange: Double,
+        axis: YAxis.AxisDependency
+    ) {
+        super.setVisibleYRangeMinimum(minYRange, axis: axis)
+    }
+
+    open override func setVisibleYRange(
+        minYRange: Double,
+        maxYRange: Double,
+        axis: YAxis.AxisDependency
+    ) {
+        super.setVisibleYRange(
+            minYRange: minYRange,
+            maxYRange: maxYRange,
+            axis: axis
+        )
+    }
+}

+ 18 - 0
Charts-Objc/Charts-Objc/Charts_Objc.h

@@ -0,0 +1,18 @@
+//
+//  Charts_Objc.h
+//  Charts-Objc
+//
+//  Created by Jacob Christie on 2020-10-26.
+//
+
+#import <Foundation/Foundation.h>
+
+//! Project version number for Charts_Objc.
+FOUNDATION_EXPORT double Charts_ObjcVersionNumber;
+
+//! Project version string for Charts_Objc.
+FOUNDATION_EXPORT const unsigned char Charts_ObjcVersionString[];
+
+// In this header, you should import all the public headers of your framework using statements like #import <Charts_Objc/PublicHeader.h>
+
+

+ 22 - 0
Charts-Objc/Charts-Objc/Info.plist

@@ -0,0 +1,22 @@
+<?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>CFBundleDevelopmentRegion</key>
+	<string>$(DEVELOPMENT_LANGUAGE)</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleVersion</key>
+	<string>$(CURRENT_PROJECT_VERSION)</string>
+</dict>
+</plist>

+ 33 - 0
Charts-Objc/Charts-ObjcTests/Charts_ObjcTests.swift

@@ -0,0 +1,33 @@
+//
+//  Charts_ObjcTests.swift
+//  Charts-ObjcTests
+//
+//  Created by Jacob Christie on 2020-10-26.
+//
+
+import XCTest
+@testable import Charts_Objc
+
+class Charts_ObjcTests: XCTestCase {
+
+    override func setUpWithError() throws {
+        // Put setup code here. This method is called before the invocation of each test method in the class.
+    }
+
+    override func tearDownWithError() throws {
+        // Put teardown code here. This method is called after the invocation of each test method in the class.
+    }
+
+    func testExample() throws {
+        // This is an example of a functional test case.
+        // Use XCTAssert and related functions to verify your tests produce the correct results.
+    }
+
+    func testPerformanceExample() throws {
+        // This is an example of a performance test case.
+        self.measure {
+            // Put the code you want to measure the time of here.
+        }
+    }
+
+}

+ 22 - 0
Charts-Objc/Charts-ObjcTests/Info.plist

@@ -0,0 +1,22 @@
+<?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>CFBundleDevelopmentRegion</key>
+	<string>$(DEVELOPMENT_LANGUAGE)</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+</dict>
+</plist>

+ 3 - 0
Charts.xcworkspace/contents.xcworkspacedata

@@ -4,6 +4,9 @@
    <FileRef
       location = "container:Charts.xcodeproj">
    </FileRef>
+   <FileRef
+      location = "group:Charts-Objc/Charts-Objc.xcodeproj">
+   </FileRef>
    <FileRef
       location = "group:ChartsDemo-iOS/ChartsDemo-iOS.xcodeproj">
    </FileRef>

+ 14 - 0
ChartsDemo-iOS/ChartsDemo-iOS.xcodeproj/project.pbxproj

@@ -74,6 +74,8 @@
 		225B368B1F6EBA640005B3D5 /* StackedBarChartViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5BEAED1A1ABBFB340013F194 /* StackedBarChartViewController.xib */; };
 		225B368C1F6EBBB00005B3D5 /* Charts.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0630AE411D8126C0008859B0 /* Charts.framework */; };
 		225B368D1F6EBBB00005B3D5 /* Charts.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 0630AE411D8126C0008859B0 /* Charts.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+		22F038022546E58600C219E2 /* Charts_Objc.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 22F038012546E58600C219E2 /* Charts_Objc.framework */; };
+		22F038032546E58600C219E2 /* Charts_Objc.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 22F038012546E58600C219E2 /* Charts_Objc.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
 		55E356501ADC638F00A57971 /* BubbleChartViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55E3564D1ADC638F00A57971 /* BubbleChartViewController.xib */; };
 		55E356511ADC638F00A57971 /* BubbleChartViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 55E3564F1ADC638F00A57971 /* BubbleChartViewController.m */; };
 		5B0CC7851ABB875400665592 /* PieChartViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 5B0CC7831ABB875400665592 /* PieChartViewController.m */; };
@@ -188,6 +190,7 @@
 			dstSubfolderSpec = 10;
 			files = (
 				0630AE521D81271B008859B0 /* Charts.framework in Embed Frameworks */,
+				22F038032546E58600C219E2 /* Charts_Objc.framework in Embed Frameworks */,
 			);
 			name = "Embed Frameworks";
 			runOnlyForDeploymentPostprocessing = 0;
@@ -232,6 +235,7 @@
 		225B36581F6EBA410005B3D5 /* BarChartViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BarChartViewController.swift; sourceTree = "<group>"; };
 		225B36591F6EBA410005B3D5 /* SinusBarChartViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SinusBarChartViewController.swift; sourceTree = "<group>"; };
 		225B365A1F6EBA410005B3D5 /* CandleStickChartViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CandleStickChartViewController.swift; sourceTree = "<group>"; };
+		22F038012546E58600C219E2 /* Charts_Objc.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Charts_Objc.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		55E3564D1ADC638F00A57971 /* BubbleChartViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = BubbleChartViewController.xib; sourceTree = "<group>"; };
 		55E3564E1ADC638F00A57971 /* BubbleChartViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BubbleChartViewController.h; sourceTree = "<group>"; };
 		55E3564F1ADC638F00A57971 /* BubbleChartViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BubbleChartViewController.m; sourceTree = "<group>"; };
@@ -340,6 +344,7 @@
 			buildActionMask = 2147483647;
 			files = (
 				0630AE511D81271B008859B0 /* Charts.framework in Frameworks */,
+				22F038022546E58600C219E2 /* Charts_Objc.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -460,6 +465,14 @@
 			path = Demos;
 			sourceTree = "<group>";
 		};
+		22F038002546E58600C219E2 /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				22F038012546E58600C219E2 /* Charts_Objc.framework */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
 		5B57BBA61A9B26AA0036A6CC = {
 			isa = PBXGroup;
 			children = (
@@ -470,6 +483,7 @@
 				5B57BBB21A9B26AA0036A6CC /* Supporting Files */,
 				5B57BBB01A9B26AA0036A6CC /* Products */,
 				0630AE391D8126C0008859B0 /* Charts.xcodeproj */,
+				22F038002546E58600C219E2 /* Frameworks */,
 			);
 			sourceTree = "<group>";
 		};

+ 0 - 1
ChartsDemo-iOS/Objective-C/Demos/AnotherBarChartViewController.h

@@ -11,7 +11,6 @@
 
 #import <UIKit/UIKit.h>
 #import "DemoBaseViewController.h"
-#import <Charts/Charts.h>
 
 @interface AnotherBarChartViewController : DemoBaseViewController
 

+ 2 - 2
ChartsDemo-iOS/Objective-C/Demos/AnotherBarChartViewController.m

@@ -10,11 +10,11 @@
 //
 
 #import "AnotherBarChartViewController.h"
-#import "ChartsDemo_iOS-Swift.h"
+@import Charts_Objc;
 
 @interface AnotherBarChartViewController () <ChartViewDelegate>
 
-@property (nonatomic, strong) IBOutlet BarChartView *chartView;
+@property (nonatomic, strong) IBOutlet CHRTBarChartView *chartView;
 @property (nonatomic, strong) IBOutlet UISlider *sliderX;
 @property (nonatomic, strong) IBOutlet UISlider *sliderY;
 @property (nonatomic, strong) IBOutlet UITextField *sliderTextX;

+ 2 - 2
ChartsDemo-iOS/Objective-C/Demos/BarChartViewController.m

@@ -9,13 +9,13 @@
 //  https://github.com/danielgindi/Charts
 //
 
+@import Charts_Objc;
 #import "BarChartViewController.h"
-#import "ChartsDemo_iOS-Swift.h"
 #import "DayAxisValueFormatter.h"
 
 @interface BarChartViewController () <ChartViewDelegate>
 
-@property (nonatomic, strong) IBOutlet BarChartView *chartView;
+@property (nonatomic, strong) IBOutlet CHRTBarChartView *chartView;
 @property (nonatomic, strong) IBOutlet UISlider *sliderX;
 @property (nonatomic, strong) IBOutlet UISlider *sliderY;
 @property (nonatomic, strong) IBOutlet UITextField *sliderTextX;

+ 2 - 2
ChartsDemo-iOS/Objective-C/Demos/HorizontalBarChartViewController.m

@@ -10,11 +10,11 @@
 //
 
 #import "HorizontalBarChartViewController.h"
-#import "ChartsDemo_iOS-Swift.h"
+@import Charts_Objc;
 
 @interface HorizontalBarChartViewController () <ChartViewDelegate>
 
-@property (nonatomic, strong) IBOutlet HorizontalBarChartView *chartView;
+@property (nonatomic, strong) IBOutlet CHRTHorizontalBarChartView *chartView;
 @property (nonatomic, strong) IBOutlet UISlider *sliderX;
 @property (nonatomic, strong) IBOutlet UISlider *sliderY;
 @property (nonatomic, strong) IBOutlet UITextField *sliderTextX;

+ 3 - 3
ChartsDemo-iOS/Objective-C/Demos/MultipleBarChartViewController.m

@@ -9,13 +9,13 @@
 //  https://github.com/danielgindi/Charts
 //
 
-#import "MultipleBarChartViewController.h"
-#import "ChartsDemo_iOS-Swift.h"
+@import Charts_Objc;
 #import "IntAxisValueFormatter.h"
+#import "MultipleBarChartViewController.h"
 
 @interface MultipleBarChartViewController () <ChartViewDelegate>
 
-@property (nonatomic, strong) IBOutlet BarChartView *chartView;
+@property (nonatomic, strong) IBOutlet CHRTBarChartView *chartView;
 @property (nonatomic, strong) IBOutlet UISlider *sliderX;
 @property (nonatomic, strong) IBOutlet UISlider *sliderY;
 @property (nonatomic, strong) IBOutlet UITextField *sliderTextX;

+ 2 - 2
ChartsDemo-iOS/Objective-C/Demos/NegativeStackedBarChartViewController.m

@@ -9,12 +9,12 @@
 //  https://github.com/danielgindi/Charts
 //
 
+@import Charts_Objc;
 #import "NegativeStackedBarChartViewController.h"
-#import "ChartsDemo_iOS-Swift.h"
 
 @interface NegativeStackedBarChartViewController () <ChartViewDelegate, ChartAxisValueFormatter>
 
-@property (nonatomic, strong) IBOutlet HorizontalBarChartView *chartView;
+@property (nonatomic, strong) IBOutlet CHRTHorizontalBarChartView *chartView;
 
 @end
 

+ 2 - 2
ChartsDemo-iOS/Objective-C/Demos/PositiveNegativeBarChartViewController.m

@@ -9,15 +9,15 @@
 //  https://github.com/danielgindi/Charts
 //
 
+@import Charts_Objc;
 #import "PositiveNegativeBarChartViewController.h"
-#import "ChartsDemo_iOS-Swift.h"
 
 @interface PositiveNegativeBarChartViewController () <ChartViewDelegate, ChartAxisValueFormatter>
 {
     NSArray<NSDictionary *> *dataList;
 }
 
-@property (nonatomic, strong) IBOutlet BarChartView *chartView;
+@property (nonatomic, strong) IBOutlet CHRTBarChartView *chartView;
 
 @end
 

+ 2 - 2
ChartsDemo-iOS/Objective-C/Demos/SinusBarChartViewController.m

@@ -10,11 +10,11 @@
 //
 
 #import "SinusBarChartViewController.h"
-#import "ChartsDemo_iOS-Swift.h"
+@import Charts_Objc;
 
 @interface SinusBarChartViewController () <ChartViewDelegate>
 
-@property (nonatomic, strong) IBOutlet BarChartView *chartView;
+@property (nonatomic, strong) IBOutlet CHRTBarChartView *chartView;
 @property (nonatomic, strong) IBOutlet UISlider *sliderX;
 @property (nonatomic, strong) IBOutlet UITextField *sliderTextX;
 

+ 2 - 2
ChartsDemo-iOS/Objective-C/Demos/StackedBarChartViewController.m

@@ -9,12 +9,12 @@
 //  https://github.com/danielgindi/Charts
 //
 
+@import Charts_Objc;
 #import "StackedBarChartViewController.h"
-#import "ChartsDemo_iOS-Swift.h"
 
 @interface StackedBarChartViewController () <ChartViewDelegate>
 
-@property (nonatomic, strong) IBOutlet BarChartView *chartView;
+@property (nonatomic, strong) IBOutlet CHRTBarChartView *chartView;
 @property (nonatomic, strong) IBOutlet UISlider *sliderX;
 @property (nonatomic, strong) IBOutlet UISlider *sliderY;
 @property (nonatomic, strong) IBOutlet UITextField *sliderTextX;

+ 13 - 8
Source/Charts/Charts/BarChartView.swift

@@ -83,7 +83,8 @@ open class BarChartView: BarLineChartViewBase, BarChartDataProvider
     }
         
     /// - Returns: The bounding box of the specified Entry in the specified DataSet. Returns null if the Entry could not be found in the charts data.
-    @objc open func getBarBounds(entry e: BarChartDataEntry) -> CGRect
+    @nonobjc
+    open func getBarBounds(entry e: BarChartDataEntry) -> CGRect
     {
         guard let
             data = data as? BarChartData,
@@ -115,7 +116,8 @@ open class BarChartView: BarLineChartViewBase, BarChartDataProvider
     ///   - fromX: the starting point on the x-axis where the grouping should begin
     ///   - groupSpace: the space between groups of bars in values (not pixels) e.g. 0.8f for bar width 1f
     ///   - barSpace: the space between individual bars in values (not pixels) e.g. 0.1f for bar width 1f
-    @objc open func groupBars(fromX: Double, groupSpace: Double, barSpace: Double)
+    @nonobjc
+    open func groupBars(fromX: Double, groupSpace: Double, barSpace: Double)
     {
         guard let barData = self.barData
             else
@@ -134,7 +136,8 @@ open class BarChartView: BarLineChartViewBase, BarChartDataProvider
     ///   - x:
     ///   - dataSetIndex:
     ///   - stackIndex: the index inside the stack - only relevant for stacked entries
-    @objc open func highlightValue(x: Double, dataSetIndex: Int, stackIndex: Int)
+    @nonobjc
+    open func highlightValue(x: Double, dataSetIndex: Int, stackIndex: Int)
     {
         highlightValue(Highlight(x: x, dataSetIndex: dataSetIndex, stackIndex: stackIndex))
     }
@@ -142,7 +145,8 @@ open class BarChartView: BarLineChartViewBase, BarChartDataProvider
     // MARK: Accessors
     
     /// if set to true, all values are drawn above their bars, instead of below their top
-    @objc open var drawValueAboveBarEnabled: Bool
+    @nonobjc
+    open var drawValueAboveBarEnabled: Bool
     {
         get { return _drawValueAboveBarEnabled }
         set
@@ -153,7 +157,8 @@ open class BarChartView: BarLineChartViewBase, BarChartDataProvider
     }
     
     /// if set to true, a grey area is drawn behind each bar that indicates the maximum value
-    @objc open var drawBarShadowEnabled: Bool
+    @nonobjc
+    open var drawBarShadowEnabled: Bool
     {
         get { return _drawBarShadowEnabled }
         set
@@ -165,14 +170,14 @@ open class BarChartView: BarLineChartViewBase, BarChartDataProvider
     
     /// Adds half of the bar width to each side of the x-axis range in order to allow the bars of the barchart to be fully displayed.
     /// **default**: false
-    @objc open var fitBars = false
+    @nonobjc open var fitBars = false
     
     /// Set this to `true` to make the highlight operation full-bar oriented, `false` to make it highlight single values (relevant only for stacked).
     /// If enabled, highlighting operations will highlight the whole bar, even if only a single stack entry was tapped.
-    @objc open var highlightFullBarEnabled: Bool = false
+    @nonobjc open var highlightFullBarEnabled = false
     
     /// `true` the highlight is be full-bar oriented, `false` ifsingle-value
-    open var isHighlightFullBarEnabled: Bool { return highlightFullBarEnabled }
+    open var isHighlightFullBarEnabled: Bool { highlightFullBarEnabled }
     
     // MARK: - BarChartDataProvider
     

+ 1 - 1
Source/Charts/Charts/ChartViewBase.swift

@@ -489,7 +489,7 @@ open class ChartViewBase: NSUIView, ChartDataProvider, AnimatorDelegate
     /// - Returns: The Highlight object (contains x-index and DataSet index) of the
     /// selected value at the given touch point inside the Line-, Scatter-, or
     /// CandleStick-Chart.
-    @objc open func getHighlightByTouchPoint(_ pt: CGPoint) -> Highlight?
+    @nonobjc open func getHighlightByTouchPoint(_ pt: CGPoint) -> Highlight?
     {
         guard data != nil else
         {

+ 1 - 0
Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift

@@ -11,6 +11,7 @@
 
 import Foundation
 
+@objc
 open class BarChartDataEntry: ChartDataEntry
 {
     /// the values the stacked barchart holds

+ 1 - 1
Source/Charts/Interfaces/BarChartDataProvider.swift

@@ -20,4 +20,4 @@ public protocol BarChartDataProvider: BarLineScatterCandleBubbleChartDataProvide
     var isDrawBarShadowEnabled: Bool { get }
     var isDrawValueAboveBarEnabled: Bool { get }
     var isHighlightFullBarEnabled: Bool { get }
-}
+}