Prechádzať zdrojové kódy

Swift 4.1 (#3370)

* Fixed misuse of "!" operator

* Updated projects for Xcode 9.3 and Swift 4.1
added a workspace to include all demos with the project to make it easier to test changes

* Fixes for Xcode 9.3
jjatie 7 rokov pred
rodič
commit
b40aa1bcb4
100 zmenil súbory, kde vykonal 171 pridanie a 123 odobranie
  1. 4 4
      .travis.yml
  2. 7 1
      Charts.xcodeproj/project.pbxproj
  3. 35 27
      Charts.xcodeproj/xcshareddata/xcschemes/Charts.xcscheme
  4. 36 27
      Charts.xcodeproj/xcshareddata/xcschemes/ChartsTests.xcscheme
  5. 13 0
      Charts.xcworkspace/contents.xcworkspacedata
  6. 8 0
      Charts.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
  7. 27 21
      ChartsDemo-iOS/ChartsDemo-iOS.xcodeproj/project.pbxproj
  8. 0 0
      ChartsDemo-iOS/Objective-C/AppDelegate.h
  9. 0 0
      ChartsDemo-iOS/Objective-C/AppDelegate.m
  10. 0 0
      ChartsDemo-iOS/Objective-C/Components/BalloonMarker.swift
  11. 0 0
      ChartsDemo-iOS/Objective-C/Components/RadarMarkerView.swift
  12. 0 0
      ChartsDemo-iOS/Objective-C/Components/XYMarkerView.swift
  13. 1 1
      ChartsDemo-iOS/Objective-C/DemoBaseViewController.h
  14. 0 0
      ChartsDemo-iOS/Objective-C/DemoBaseViewController.m
  15. 0 0
      ChartsDemo-iOS/Objective-C/DemoListViewController.h
  16. 0 0
      ChartsDemo-iOS/Objective-C/DemoListViewController.m
  17. 0 0
      ChartsDemo-iOS/Objective-C/Demos/AnotherBarChartViewController.h
  18. 1 1
      ChartsDemo-iOS/Objective-C/Demos/AnotherBarChartViewController.m
  19. 0 0
      ChartsDemo-iOS/Objective-C/Demos/BarChartViewController.h
  20. 1 1
      ChartsDemo-iOS/Objective-C/Demos/BarChartViewController.m
  21. 0 0
      ChartsDemo-iOS/Objective-C/Demos/BubbleChartViewController.h
  22. 1 1
      ChartsDemo-iOS/Objective-C/Demos/BubbleChartViewController.m
  23. 0 0
      ChartsDemo-iOS/Objective-C/Demos/CandleStickChartViewController.h
  24. 1 1
      ChartsDemo-iOS/Objective-C/Demos/CandleStickChartViewController.m
  25. 0 0
      ChartsDemo-iOS/Objective-C/Demos/ColoredLineChartViewController.h
  26. 1 1
      ChartsDemo-iOS/Objective-C/Demos/ColoredLineChartViewController.m
  27. 0 0
      ChartsDemo-iOS/Objective-C/Demos/CombinedChartViewController.h
  28. 1 1
      ChartsDemo-iOS/Objective-C/Demos/CombinedChartViewController.m
  29. 0 0
      ChartsDemo-iOS/Objective-C/Demos/CubicLineChartViewController.h
  30. 1 1
      ChartsDemo-iOS/Objective-C/Demos/CubicLineChartViewController.m
  31. 0 0
      ChartsDemo-iOS/Objective-C/Demos/HalfPieChartViewController.h
  32. 1 1
      ChartsDemo-iOS/Objective-C/Demos/HalfPieChartViewController.m
  33. 0 0
      ChartsDemo-iOS/Objective-C/Demos/HorizontalBarChartViewController.h
  34. 1 1
      ChartsDemo-iOS/Objective-C/Demos/HorizontalBarChartViewController.m
  35. 0 0
      ChartsDemo-iOS/Objective-C/Demos/LineChart1ViewController.h
  36. 1 1
      ChartsDemo-iOS/Objective-C/Demos/LineChart1ViewController.m
  37. 0 0
      ChartsDemo-iOS/Objective-C/Demos/LineChart2ViewController.h
  38. 1 1
      ChartsDemo-iOS/Objective-C/Demos/LineChart2ViewController.m
  39. 0 0
      ChartsDemo-iOS/Objective-C/Demos/LineChartFilledViewController.h
  40. 3 3
      ChartsDemo-iOS/Objective-C/Demos/LineChartFilledViewController.m
  41. 0 0
      ChartsDemo-iOS/Objective-C/Demos/LineChartTimeViewController.h
  42. 1 1
      ChartsDemo-iOS/Objective-C/Demos/LineChartTimeViewController.m
  43. 0 0
      ChartsDemo-iOS/Objective-C/Demos/MultipleBarChartViewController.h
  44. 1 1
      ChartsDemo-iOS/Objective-C/Demos/MultipleBarChartViewController.m
  45. 0 0
      ChartsDemo-iOS/Objective-C/Demos/MultipleLinesChartViewController.h
  46. 1 1
      ChartsDemo-iOS/Objective-C/Demos/MultipleLinesChartViewController.m
  47. 0 0
      ChartsDemo-iOS/Objective-C/Demos/NegativeStackedBarChartViewController.h
  48. 1 1
      ChartsDemo-iOS/Objective-C/Demos/NegativeStackedBarChartViewController.m
  49. 0 0
      ChartsDemo-iOS/Objective-C/Demos/PieChartViewController.h
  50. 1 1
      ChartsDemo-iOS/Objective-C/Demos/PieChartViewController.m
  51. 0 0
      ChartsDemo-iOS/Objective-C/Demos/PiePolylineChartViewController.h
  52. 1 1
      ChartsDemo-iOS/Objective-C/Demos/PiePolylineChartViewController.m
  53. 0 0
      ChartsDemo-iOS/Objective-C/Demos/PositiveNegativeBarChartViewController.h
  54. 1 1
      ChartsDemo-iOS/Objective-C/Demos/PositiveNegativeBarChartViewController.m
  55. 0 0
      ChartsDemo-iOS/Objective-C/Demos/RadarChartViewController.h
  56. 13 15
      ChartsDemo-iOS/Objective-C/Demos/RadarChartViewController.m
  57. 0 0
      ChartsDemo-iOS/Objective-C/Demos/ScatterChartViewController.h
  58. 1 1
      ChartsDemo-iOS/Objective-C/Demos/ScatterChartViewController.m
  59. 0 0
      ChartsDemo-iOS/Objective-C/Demos/SinusBarChartViewController.h
  60. 1 1
      ChartsDemo-iOS/Objective-C/Demos/SinusBarChartViewController.m
  61. 0 0
      ChartsDemo-iOS/Objective-C/Demos/StackedBarChartViewController.h
  62. 1 1
      ChartsDemo-iOS/Objective-C/Demos/StackedBarChartViewController.m
  63. 1 1
      ChartsDemo-iOS/Objective-C/Formatters/DateValueFormatter.h
  64. 0 0
      ChartsDemo-iOS/Objective-C/Formatters/DateValueFormatter.m
  65. 1 1
      ChartsDemo-iOS/Objective-C/Formatters/DayAxisValueFormatter.h
  66. 0 0
      ChartsDemo-iOS/Objective-C/Formatters/DayAxisValueFormatter.m
  67. 1 1
      ChartsDemo-iOS/Objective-C/Formatters/IntAxisValueFormatter.h
  68. 0 0
      ChartsDemo-iOS/Objective-C/Formatters/IntAxisValueFormatter.m
  69. 0 0
      ChartsDemo-iOS/Objective-C/Formatters/LargeValueFormatter.swift
  70. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Contents.json
  71. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png
  72. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png
  73. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png
  74. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png
  75. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png
  76. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png
  77. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/iTunesArtwork@2x.png
  78. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/Contents.json
  79. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/icon.imageset/Contents.json
  80. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/icon.imageset/star-1.png
  81. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/icon.imageset/star-2.png
  82. 0 0
      ChartsDemo-iOS/Resources/Images.xcassets/icon.imageset/star.png
  83. 0 0
      ChartsDemo-iOS/Resources/Launch Screen.storyboard
  84. 0 0
      ChartsDemo-iOS/Resources/markers/radar_marker@3x.png
  85. 0 0
      ChartsDemo-iOS/Supporting Files/ChartsDemo-Bridging-Header.h
  86. 0 0
      ChartsDemo-iOS/Supporting Files/Info.plist
  87. 0 0
      ChartsDemo-iOS/Supporting Files/main.m
  88. 0 0
      ChartsDemo-iOS/Swift/AppDelegate.swift
  89. 0 0
      ChartsDemo-iOS/Swift/Components/BalloonMarker.swift
  90. 0 0
      ChartsDemo-iOS/Swift/Components/RadarMarkerView.swift
  91. 0 0
      ChartsDemo-iOS/Swift/Components/XYMarkerView.swift
  92. 0 0
      ChartsDemo-iOS/Swift/DemoBaseViewController.swift
  93. 0 0
      ChartsDemo-iOS/Swift/DemoListViewController.swift
  94. 0 0
      ChartsDemo-iOS/Swift/Demos/AnotherBarChartViewController.swift
  95. 0 0
      ChartsDemo-iOS/Swift/Demos/BarChartViewController.swift
  96. 0 0
      ChartsDemo-iOS/Swift/Demos/BubbleChartViewController.swift
  97. 0 0
      ChartsDemo-iOS/Swift/Demos/CandleStickChartViewController.swift
  98. 0 0
      ChartsDemo-iOS/Swift/Demos/ColoredLineChartViewController.swift
  99. 0 0
      ChartsDemo-iOS/Swift/Demos/CombinedChartViewController.swift
  100. 0 0
      ChartsDemo-iOS/Swift/Demos/CubicLineChartViewController.swift

+ 4 - 4
.travis.yml

@@ -1,12 +1,12 @@
 language: objective-c
 language: objective-c
-osx_image: xcode9
+osx_image: xcode9.3beta
 matrix:
 matrix:
   include:
   include:
-    - osx_image: xcode9
+    - osx_image: xcode9.3beta
       env: PLATFORM="iOS"
       env: PLATFORM="iOS"
-    - osx_image: xcode9
+    - osx_image: xcode9.3beta
       env: PLATFORM="tvOS"
       env: PLATFORM="tvOS"
-    - osx_image: xcode9
+    - osx_image: xcode9.3beta
       env: PLATFORM="macOS"
       env: PLATFORM="macOS"
 env:
 env:
   global:
   global:

+ 7 - 1
Charts.xcodeproj/project.pbxproj

@@ -731,7 +731,7 @@
 			isa = PBXProject;
 			isa = PBXProject;
 			attributes = {
 			attributes = {
 				LastSwiftUpdateCheck = 0830;
 				LastSwiftUpdateCheck = 0830;
-				LastUpgradeCheck = 0700;
+				LastUpgradeCheck = 0930;
 				TargetAttributes = {
 				TargetAttributes = {
 					A58A4ED274A941CA248EA921 = {
 					A58A4ED274A941CA248EA921 = {
 						LastSwiftMigration = 0900;
 						LastSwiftMigration = 0900;
@@ -1055,6 +1055,7 @@
 				CLANG_WARN_BOOL_CONVERSION = YES;
 				CLANG_WARN_BOOL_CONVERSION = YES;
 				CLANG_WARN_COMMA = YES;
 				CLANG_WARN_COMMA = YES;
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
 				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
 				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
 				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
 				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
 				CLANG_WARN_EMPTY_BODY = YES;
 				CLANG_WARN_EMPTY_BODY = YES;
@@ -1062,6 +1063,7 @@
 				CLANG_WARN_INFINITE_RECURSION = YES;
 				CLANG_WARN_INFINITE_RECURSION = YES;
 				CLANG_WARN_INT_CONVERSION = YES;
 				CLANG_WARN_INT_CONVERSION = YES;
 				CLANG_WARN_NON_LITERAL_NULL_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_LITERAL_CONVERSION = YES;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -1084,6 +1086,7 @@
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
 				SDKROOT = macosx;
 				SDKROOT = macosx;
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+				SWIFT_VERSION = 4.0;
 				TARGETED_DEVICE_FAMILY = "1,2,3,4";
 				TARGETED_DEVICE_FAMILY = "1,2,3,4";
 				VALIDATE_PRODUCT = YES;
 				VALIDATE_PRODUCT = YES;
 			};
 			};
@@ -1103,6 +1106,7 @@
 				CLANG_WARN_BOOL_CONVERSION = YES;
 				CLANG_WARN_BOOL_CONVERSION = YES;
 				CLANG_WARN_COMMA = YES;
 				CLANG_WARN_COMMA = YES;
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
 				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
 				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
 				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
 				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
 				CLANG_WARN_EMPTY_BODY = YES;
 				CLANG_WARN_EMPTY_BODY = YES;
@@ -1110,6 +1114,7 @@
 				CLANG_WARN_INFINITE_RECURSION = YES;
 				CLANG_WARN_INFINITE_RECURSION = YES;
 				CLANG_WARN_INT_CONVERSION = YES;
 				CLANG_WARN_INT_CONVERSION = YES;
 				CLANG_WARN_NON_LITERAL_NULL_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_LITERAL_CONVERSION = YES;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -1140,6 +1145,7 @@
 				ONLY_ACTIVE_ARCH = YES;
 				ONLY_ACTIVE_ARCH = YES;
 				SDKROOT = macosx;
 				SDKROOT = macosx;
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+				SWIFT_VERSION = 4.0;
 				TARGETED_DEVICE_FAMILY = "1,2,3,4";
 				TARGETED_DEVICE_FAMILY = "1,2,3,4";
 			};
 			};
 			name = Debug;
 			name = Debug;

+ 35 - 27
Charts.xcodeproj/xcshareddata/xcschemes/Charts.xcscheme

@@ -1,49 +1,49 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
 <Scheme
-   LastUpgradeVersion = "0900"
+   LastUpgradeVersion = "0930"
    version = "1.3">
    version = "1.3">
    <BuildAction
    <BuildAction
       parallelizeBuildables = "YES"
       parallelizeBuildables = "YES"
       buildImplicitDependencies = "YES">
       buildImplicitDependencies = "YES">
       <BuildActionEntries>
       <BuildActionEntries>
          <BuildActionEntry
          <BuildActionEntry
-            buildForAnalyzing = "YES"
             buildForTesting = "YES"
             buildForTesting = "YES"
             buildForRunning = "YES"
             buildForRunning = "YES"
             buildForProfiling = "YES"
             buildForProfiling = "YES"
-            buildForArchiving = "YES">
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
             <BuildableReference
             <BuildableReference
-               BuildableIdentifier = 'primary'
-               BlueprintIdentifier = 'A58A4ED274A941CA248EA921'
-               BlueprintName = 'Charts'
-               ReferencedContainer = 'container:Charts.xcodeproj'
-               BuildableName = 'Charts.framework'>
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "A58A4ED274A941CA248EA921"
+               BuildableName = "Charts.framework"
+               BlueprintName = "Charts"
+               ReferencedContainer = "container:Charts.xcodeproj">
             </BuildableReference>
             </BuildableReference>
          </BuildActionEntry>
          </BuildActionEntry>
       </BuildActionEntries>
       </BuildActionEntries>
    </BuildAction>
    </BuildAction>
    <TestAction
    <TestAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      buildConfiguration = "Debug"
-      codeCoverageEnabled = "NO">
-      <AdditionalOptions>
-      </AdditionalOptions>
+      shouldUseLaunchSchemeArgsEnv = "YES">
       <Testables>
       <Testables>
          <TestableReference
          <TestableReference
             skipped = "NO">
             skipped = "NO">
             <BuildableReference
             <BuildableReference
-               BuildableIdentifier = 'primary'
-               BlueprintIdentifier = 'F2749BD5443C1CB5FE2080C2'
-               BlueprintName = 'ChartsTests'
-               ReferencedContainer = 'container:Charts.xcodeproj'
-               BuildableName = 'ChartsTests.xctest'>
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F2749BD5443C1CB5FE2080C2"
+               BuildableName = "ChartsTests.xctest"
+               BlueprintName = "ChartsTests"
+               ReferencedContainer = "container:Charts.xcodeproj">
             </BuildableReference>
             </BuildableReference>
          </TestableReference>
          </TestableReference>
       </Testables>
       </Testables>
+      <AdditionalOptions>
+      </AdditionalOptions>
    </TestAction>
    </TestAction>
    <LaunchAction
    <LaunchAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       launchStyle = "0"
       launchStyle = "0"
@@ -51,24 +51,32 @@
       ignoresPersistentStateOnLaunch = "NO"
       ignoresPersistentStateOnLaunch = "NO"
       debugDocumentVersioning = "YES"
       debugDocumentVersioning = "YES"
       debugServiceExtension = "internal"
       debugServiceExtension = "internal"
-      buildConfiguration = "Debug"
       allowLocationSimulation = "YES">
       allowLocationSimulation = "YES">
-      <AdditionalOptions>
-      </AdditionalOptions>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "A58A4ED274A941CA248EA921"
+            BuildableName = "Charts.framework"
+            BlueprintName = "Charts"
+            ReferencedContainer = "container:Charts.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
       <EnvironmentVariables>
       <EnvironmentVariables>
          <EnvironmentVariable
          <EnvironmentVariable
-            key = 'FB_REFERENCE_IMAGE_DIR'
-            value = '$(SOURCE_ROOT)/Tests/ReferenceImages'
-            isEnabled = 'YES'>
+            key = "FB_REFERENCE_IMAGE_DIR"
+            value = "$(SOURCE_ROOT)/Tests/ReferenceImages"
+            isEnabled = "YES">
          </EnvironmentVariable>
          </EnvironmentVariable>
       </EnvironmentVariables>
       </EnvironmentVariables>
+      <AdditionalOptions>
+      </AdditionalOptions>
    </LaunchAction>
    </LaunchAction>
    <ProfileAction
    <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
       savedToolIdentifier = ""
       savedToolIdentifier = ""
       useCustomWorkingDirectory = "NO"
       useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES"
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES">
+      debugDocumentVersioning = "YES">
    </ProfileAction>
    </ProfileAction>
    <AnalyzeAction
    <AnalyzeAction
       buildConfiguration = "Debug">
       buildConfiguration = "Debug">

+ 36 - 27
Charts.xcodeproj/xcshareddata/xcschemes/ChartsTests.xcscheme

@@ -1,49 +1,50 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
 <Scheme
-   LastUpgradeVersion = "0900"
+   LastUpgradeVersion = "0930"
    version = "1.3">
    version = "1.3">
    <BuildAction
    <BuildAction
       parallelizeBuildables = "YES"
       parallelizeBuildables = "YES"
       buildImplicitDependencies = "YES">
       buildImplicitDependencies = "YES">
       <BuildActionEntries>
       <BuildActionEntries>
          <BuildActionEntry
          <BuildActionEntry
-            buildForAnalyzing = "YES"
             buildForTesting = "YES"
             buildForTesting = "YES"
             buildForRunning = "YES"
             buildForRunning = "YES"
             buildForProfiling = "YES"
             buildForProfiling = "YES"
-            buildForArchiving = "YES">
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
             <BuildableReference
             <BuildableReference
-               BuildableIdentifier = 'primary'
-               BlueprintIdentifier = 'F2749BD5443C1CB5FE2080C2'
-               BlueprintName = 'ChartsTests'
-               ReferencedContainer = 'container:Charts.xcodeproj'
-               BuildableName = 'ChartsTests.xctest'>
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F2749BD5443C1CB5FE2080C2"
+               BuildableName = "ChartsTests.xctest"
+               BlueprintName = "ChartsTests"
+               ReferencedContainer = "container:Charts.xcodeproj">
             </BuildableReference>
             </BuildableReference>
          </BuildActionEntry>
          </BuildActionEntry>
       </BuildActionEntries>
       </BuildActionEntries>
    </BuildAction>
    </BuildAction>
    <TestAction
    <TestAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      buildConfiguration = "Debug"
-      codeCoverageEnabled = "YES">
-      <AdditionalOptions>
-      </AdditionalOptions>
+      codeCoverageEnabled = "YES"
+      shouldUseLaunchSchemeArgsEnv = "YES">
       <Testables>
       <Testables>
          <TestableReference
          <TestableReference
             skipped = "NO">
             skipped = "NO">
             <BuildableReference
             <BuildableReference
-               BuildableIdentifier = 'primary'
-               BlueprintIdentifier = 'F2749BD5443C1CB5FE2080C2'
-               BlueprintName = 'ChartsTests'
-               ReferencedContainer = 'container:Charts.xcodeproj'
-               BuildableName = 'ChartsTests.xctest'>
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F2749BD5443C1CB5FE2080C2"
+               BuildableName = "ChartsTests.xctest"
+               BlueprintName = "ChartsTests"
+               ReferencedContainer = "container:Charts.xcodeproj">
             </BuildableReference>
             </BuildableReference>
          </TestableReference>
          </TestableReference>
       </Testables>
       </Testables>
+      <AdditionalOptions>
+      </AdditionalOptions>
    </TestAction>
    </TestAction>
    <LaunchAction
    <LaunchAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       launchStyle = "0"
       launchStyle = "0"
@@ -51,24 +52,32 @@
       ignoresPersistentStateOnLaunch = "NO"
       ignoresPersistentStateOnLaunch = "NO"
       debugDocumentVersioning = "YES"
       debugDocumentVersioning = "YES"
       debugServiceExtension = "internal"
       debugServiceExtension = "internal"
-      buildConfiguration = "Debug"
       allowLocationSimulation = "YES">
       allowLocationSimulation = "YES">
-      <AdditionalOptions>
-      </AdditionalOptions>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "F2749BD5443C1CB5FE2080C2"
+            BuildableName = "ChartsTests.xctest"
+            BlueprintName = "ChartsTests"
+            ReferencedContainer = "container:Charts.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
       <EnvironmentVariables>
       <EnvironmentVariables>
          <EnvironmentVariable
          <EnvironmentVariable
-            key = 'FB_REFERENCE_IMAGE_DIR'
-            value = '$(SOURCE_ROOT)/Tests/ReferenceImages'
-            isEnabled = 'YES'>
+            key = "FB_REFERENCE_IMAGE_DIR"
+            value = "$(SOURCE_ROOT)/Tests/ReferenceImages"
+            isEnabled = "YES">
          </EnvironmentVariable>
          </EnvironmentVariable>
       </EnvironmentVariables>
       </EnvironmentVariables>
+      <AdditionalOptions>
+      </AdditionalOptions>
    </LaunchAction>
    </LaunchAction>
    <ProfileAction
    <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
       savedToolIdentifier = ""
       savedToolIdentifier = ""
       useCustomWorkingDirectory = "NO"
       useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES"
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES">
+      debugDocumentVersioning = "YES">
    </ProfileAction>
    </ProfileAction>
    <AnalyzeAction
    <AnalyzeAction
       buildConfiguration = "Debug">
       buildConfiguration = "Debug">

+ 13 - 0
Charts.xcworkspace/contents.xcworkspacedata

@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "container:Charts.xcodeproj">
+   </FileRef>
+   <FileRef
+      location = "group:ChartsDemo-iOS/ChartsDemo-iOS.xcodeproj">
+   </FileRef>
+   <FileRef
+      location = "group:ChartsDemo-macOS/ChartsDemo-macOS.xcodeproj">
+   </FileRef>
+</Workspace>

+ 8 - 0
Charts.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

@@ -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>

+ 27 - 21
ChartsDemo/ChartsDemo.xcodeproj/project.pbxproj → ChartsDemo-iOS/ChartsDemo-iOS.xcodeproj/project.pbxproj

@@ -199,7 +199,7 @@
 		0439A3521C9FF95F00496F83 /* PiePolylineChartViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PiePolylineChartViewController.m; sourceTree = "<group>"; };
 		0439A3521C9FF95F00496F83 /* PiePolylineChartViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PiePolylineChartViewController.m; sourceTree = "<group>"; };
 		0471CBFB1CA1090A00E52DBC /* PiePolylineChartViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PiePolylineChartViewController.xib; sourceTree = "<group>"; };
 		0471CBFB1CA1090A00E52DBC /* PiePolylineChartViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PiePolylineChartViewController.xib; sourceTree = "<group>"; };
 		0630AE391D8126C0008859B0 /* Charts.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Charts.xcodeproj; path = ../Charts.xcodeproj; sourceTree = "<group>"; };
 		0630AE391D8126C0008859B0 /* Charts.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Charts.xcodeproj; path = ../Charts.xcodeproj; sourceTree = "<group>"; };
-		225B361D1F6EB9A50005B3D5 /* ChartsDemo-Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ChartsDemo-Swift.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+		225B361D1F6EB9A50005B3D5 /* ChartsDemo-iOS-Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ChartsDemo-iOS-Swift.app"; sourceTree = BUILT_PRODUCTS_DIR; };
 		225B361F1F6EB9A50005B3D5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
 		225B361F1F6EB9A50005B3D5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
 		225B362F1F6EB9EE0005B3D5 /* DemoBaseViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoBaseViewController.swift; sourceTree = "<group>"; };
 		225B362F1F6EB9EE0005B3D5 /* DemoBaseViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoBaseViewController.swift; sourceTree = "<group>"; };
 		225B36301F6EB9EE0005B3D5 /* DemoListViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoListViewController.swift; sourceTree = "<group>"; };
 		225B36301F6EB9EE0005B3D5 /* DemoListViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoListViewController.swift; sourceTree = "<group>"; };
@@ -240,7 +240,7 @@
 		5B0CC7831ABB875400665592 /* PieChartViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PieChartViewController.m; sourceTree = "<group>"; };
 		5B0CC7831ABB875400665592 /* PieChartViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PieChartViewController.m; sourceTree = "<group>"; };
 		5B0CC7841ABB875400665592 /* PieChartViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PieChartViewController.xib; sourceTree = "<group>"; };
 		5B0CC7841ABB875400665592 /* PieChartViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PieChartViewController.xib; sourceTree = "<group>"; };
 		5B1B5DA91E911A15006D1375 /* RealmDemosViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = RealmDemosViewController.xib; path = XIBs/Demos/RealmDemosViewController.xib; sourceTree = SOURCE_ROOT; };
 		5B1B5DA91E911A15006D1375 /* RealmDemosViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = RealmDemosViewController.xib; path = XIBs/Demos/RealmDemosViewController.xib; sourceTree = SOURCE_ROOT; };
-		5B57BBAF1A9B26AA0036A6CC /* ChartsDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ChartsDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
+		5B57BBAF1A9B26AA0036A6CC /* ChartsDemo-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ChartsDemo-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
 		5B57BBB31A9B26AA0036A6CC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		5B57BBB31A9B26AA0036A6CC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
 		5B57BBB41A9B26AA0036A6CC /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
 		5B57BBB41A9B26AA0036A6CC /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
 		5B57BBB61A9B26AA0036A6CC /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
 		5B57BBB61A9B26AA0036A6CC /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
@@ -477,8 +477,8 @@
 		5B57BBB01A9B26AA0036A6CC /* Products */ = {
 		5B57BBB01A9B26AA0036A6CC /* Products */ = {
 			isa = PBXGroup;
 			isa = PBXGroup;
 			children = (
 			children = (
-				5B57BBAF1A9B26AA0036A6CC /* ChartsDemo.app */,
-				225B361D1F6EB9A50005B3D5 /* ChartsDemo-Swift.app */,
+				5B57BBAF1A9B26AA0036A6CC /* ChartsDemo-iOS.app */,
+				225B361D1F6EB9A50005B3D5 /* ChartsDemo-iOS-Swift.app */,
 			);
 			);
 			name = Products;
 			name = Products;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
@@ -607,9 +607,9 @@
 /* End PBXGroup section */
 /* End PBXGroup section */
 
 
 /* Begin PBXNativeTarget section */
 /* Begin PBXNativeTarget section */
-		225B361C1F6EB9A50005B3D5 /* ChartsDemo-Swift */ = {
+		225B361C1F6EB9A50005B3D5 /* ChartsDemo-iOS-Swift */ = {
 			isa = PBXNativeTarget;
 			isa = PBXNativeTarget;
-			buildConfigurationList = 225B362C1F6EB9A50005B3D5 /* Build configuration list for PBXNativeTarget "ChartsDemo-Swift" */;
+			buildConfigurationList = 225B362C1F6EB9A50005B3D5 /* Build configuration list for PBXNativeTarget "ChartsDemo-iOS-Swift" */;
 			buildPhases = (
 			buildPhases = (
 				225B36191F6EB9A50005B3D5 /* Sources */,
 				225B36191F6EB9A50005B3D5 /* Sources */,
 				225B361A1F6EB9A50005B3D5 /* Frameworks */,
 				225B361A1F6EB9A50005B3D5 /* Frameworks */,
@@ -621,14 +621,14 @@
 			dependencies = (
 			dependencies = (
 				225B368F1F6EBBB00005B3D5 /* PBXTargetDependency */,
 				225B368F1F6EBBB00005B3D5 /* PBXTargetDependency */,
 			);
 			);
-			name = "ChartsDemo-Swift";
+			name = "ChartsDemo-iOS-Swift";
 			productName = "ChartsDemo-Swift";
 			productName = "ChartsDemo-Swift";
-			productReference = 225B361D1F6EB9A50005B3D5 /* ChartsDemo-Swift.app */;
+			productReference = 225B361D1F6EB9A50005B3D5 /* ChartsDemo-iOS-Swift.app */;
 			productType = "com.apple.product-type.application";
 			productType = "com.apple.product-type.application";
 		};
 		};
-		5B57BBAE1A9B26AA0036A6CC /* ChartsDemo */ = {
+		5B57BBAE1A9B26AA0036A6CC /* ChartsDemo-iOS */ = {
 			isa = PBXNativeTarget;
 			isa = PBXNativeTarget;
-			buildConfigurationList = 5B57BBD21A9B26AA0036A6CC /* Build configuration list for PBXNativeTarget "ChartsDemo" */;
+			buildConfigurationList = 5B57BBD21A9B26AA0036A6CC /* Build configuration list for PBXNativeTarget "ChartsDemo-iOS" */;
 			buildPhases = (
 			buildPhases = (
 				5B57BBAB1A9B26AA0036A6CC /* Sources */,
 				5B57BBAB1A9B26AA0036A6CC /* Sources */,
 				5B57BBAC1A9B26AA0036A6CC /* Frameworks */,
 				5B57BBAC1A9B26AA0036A6CC /* Frameworks */,
@@ -640,9 +640,9 @@
 			dependencies = (
 			dependencies = (
 				0630AE541D81271B008859B0 /* PBXTargetDependency */,
 				0630AE541D81271B008859B0 /* PBXTargetDependency */,
 			);
 			);
-			name = ChartsDemo;
+			name = "ChartsDemo-iOS";
 			productName = chartstest;
 			productName = chartstest;
-			productReference = 5B57BBAF1A9B26AA0036A6CC /* ChartsDemo.app */;
+			productReference = 5B57BBAF1A9B26AA0036A6CC /* ChartsDemo-iOS.app */;
 			productType = "com.apple.product-type.application";
 			productType = "com.apple.product-type.application";
 		};
 		};
 /* End PBXNativeTarget section */
 /* End PBXNativeTarget section */
@@ -653,7 +653,7 @@
 			attributes = {
 			attributes = {
 				LastSwiftMigration = 0700;
 				LastSwiftMigration = 0700;
 				LastSwiftUpdateCheck = 0700;
 				LastSwiftUpdateCheck = 0700;
-				LastUpgradeCheck = 0900;
+				LastUpgradeCheck = 0930;
 				ORGANIZATIONNAME = dcg;
 				ORGANIZATIONNAME = dcg;
 				TargetAttributes = {
 				TargetAttributes = {
 					225B361C1F6EB9A50005B3D5 = {
 					225B361C1F6EB9A50005B3D5 = {
@@ -666,7 +666,7 @@
 					};
 					};
 				};
 				};
 			};
 			};
-			buildConfigurationList = 5B57BBAA1A9B26AA0036A6CC /* Build configuration list for PBXProject "ChartsDemo" */;
+			buildConfigurationList = 5B57BBAA1A9B26AA0036A6CC /* Build configuration list for PBXProject "ChartsDemo-iOS" */;
 			compatibilityVersion = "Xcode 3.2";
 			compatibilityVersion = "Xcode 3.2";
 			developmentRegion = English;
 			developmentRegion = English;
 			hasScannedForEncodings = 0;
 			hasScannedForEncodings = 0;
@@ -685,8 +685,8 @@
 			);
 			);
 			projectRoot = "";
 			projectRoot = "";
 			targets = (
 			targets = (
-				5B57BBAE1A9B26AA0036A6CC /* ChartsDemo */,
-				225B361C1F6EB9A50005B3D5 /* ChartsDemo-Swift */,
+				5B57BBAE1A9B26AA0036A6CC /* ChartsDemo-iOS */,
+				225B361C1F6EB9A50005B3D5 /* ChartsDemo-iOS-Swift */,
 			);
 			);
 		};
 		};
 /* End PBXProject section */
 /* End PBXProject section */
@@ -952,12 +952,14 @@
 				CLANG_WARN_BOOL_CONVERSION = YES;
 				CLANG_WARN_BOOL_CONVERSION = YES;
 				CLANG_WARN_COMMA = YES;
 				CLANG_WARN_COMMA = YES;
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
 				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
 				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
 				CLANG_WARN_EMPTY_BODY = YES;
 				CLANG_WARN_EMPTY_BODY = YES;
 				CLANG_WARN_ENUM_CONVERSION = YES;
 				CLANG_WARN_ENUM_CONVERSION = YES;
 				CLANG_WARN_INFINITE_RECURSION = YES;
 				CLANG_WARN_INFINITE_RECURSION = YES;
 				CLANG_WARN_INT_CONVERSION = YES;
 				CLANG_WARN_INT_CONVERSION = YES;
 				CLANG_WARN_NON_LITERAL_NULL_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_LITERAL_CONVERSION = YES;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -987,6 +989,7 @@
 				MTL_ENABLE_DEBUG_INFO = YES;
 				MTL_ENABLE_DEBUG_INFO = YES;
 				ONLY_ACTIVE_ARCH = YES;
 				ONLY_ACTIVE_ARCH = YES;
 				SDKROOT = iphoneos;
 				SDKROOT = iphoneos;
+				SWIFT_VERSION = 4.0;
 			};
 			};
 			name = Debug;
 			name = Debug;
 		};
 		};
@@ -1002,12 +1005,14 @@
 				CLANG_WARN_BOOL_CONVERSION = YES;
 				CLANG_WARN_BOOL_CONVERSION = YES;
 				CLANG_WARN_COMMA = YES;
 				CLANG_WARN_COMMA = YES;
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
 				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
 				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
 				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
 				CLANG_WARN_EMPTY_BODY = YES;
 				CLANG_WARN_EMPTY_BODY = YES;
 				CLANG_WARN_ENUM_CONVERSION = YES;
 				CLANG_WARN_ENUM_CONVERSION = YES;
 				CLANG_WARN_INFINITE_RECURSION = YES;
 				CLANG_WARN_INFINITE_RECURSION = YES;
 				CLANG_WARN_INT_CONVERSION = YES;
 				CLANG_WARN_INT_CONVERSION = YES;
 				CLANG_WARN_NON_LITERAL_NULL_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_LITERAL_CONVERSION = YES;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
 				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
 				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
@@ -1030,6 +1035,7 @@
 				MTL_ENABLE_DEBUG_INFO = NO;
 				MTL_ENABLE_DEBUG_INFO = NO;
 				SDKROOT = iphoneos;
 				SDKROOT = iphoneos;
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+				SWIFT_VERSION = 4.0;
 				VALIDATE_PRODUCT = YES;
 				VALIDATE_PRODUCT = YES;
 			};
 			};
 			name = Release;
 			name = Release;
@@ -1045,7 +1051,7 @@
 				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
 				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
 				PRODUCT_BUNDLE_IDENTIFIER = "com.dcg.$(PRODUCT_NAME:rfc1034identifier)";
 				PRODUCT_BUNDLE_IDENTIFIER = "com.dcg.$(PRODUCT_NAME:rfc1034identifier)";
-				PRODUCT_NAME = ChartsDemo;
+				PRODUCT_NAME = "ChartsDemo-iOS";
 				SUPPORTED_PLATFORMS = "iphonesimulator iphoneos appletvsimulator appletvos";
 				SUPPORTED_PLATFORMS = "iphonesimulator iphoneos appletvsimulator appletvos";
 				SWIFT_OBJC_BRIDGING_HEADER = "Supporting Files/ChartsDemo-Bridging-Header.h";
 				SWIFT_OBJC_BRIDGING_HEADER = "Supporting Files/ChartsDemo-Bridging-Header.h";
 				SWIFT_OBJC_INTERFACE_HEADER_NAME = "$(SWIFT_MODULE_NAME)-Swift.h";
 				SWIFT_OBJC_INTERFACE_HEADER_NAME = "$(SWIFT_MODULE_NAME)-Swift.h";
@@ -1065,7 +1071,7 @@
 				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
 				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
 				PRODUCT_BUNDLE_IDENTIFIER = "com.dcg.$(PRODUCT_NAME:rfc1034identifier)";
 				PRODUCT_BUNDLE_IDENTIFIER = "com.dcg.$(PRODUCT_NAME:rfc1034identifier)";
-				PRODUCT_NAME = ChartsDemo;
+				PRODUCT_NAME = "ChartsDemo-iOS";
 				SUPPORTED_PLATFORMS = "iphonesimulator iphoneos appletvsimulator appletvos";
 				SUPPORTED_PLATFORMS = "iphonesimulator iphoneos appletvsimulator appletvos";
 				SWIFT_OBJC_BRIDGING_HEADER = "Supporting Files/ChartsDemo-Bridging-Header.h";
 				SWIFT_OBJC_BRIDGING_HEADER = "Supporting Files/ChartsDemo-Bridging-Header.h";
 				SWIFT_OBJC_INTERFACE_HEADER_NAME = "$(SWIFT_MODULE_NAME)-Swift.h";
 				SWIFT_OBJC_INTERFACE_HEADER_NAME = "$(SWIFT_MODULE_NAME)-Swift.h";
@@ -1076,7 +1082,7 @@
 /* End XCBuildConfiguration section */
 /* End XCBuildConfiguration section */
 
 
 /* Begin XCConfigurationList section */
 /* Begin XCConfigurationList section */
-		225B362C1F6EB9A50005B3D5 /* Build configuration list for PBXNativeTarget "ChartsDemo-Swift" */ = {
+		225B362C1F6EB9A50005B3D5 /* Build configuration list for PBXNativeTarget "ChartsDemo-iOS-Swift" */ = {
 			isa = XCConfigurationList;
 			isa = XCConfigurationList;
 			buildConfigurations = (
 			buildConfigurations = (
 				225B362D1F6EB9A50005B3D5 /* Debug */,
 				225B362D1F6EB9A50005B3D5 /* Debug */,
@@ -1085,7 +1091,7 @@
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 			defaultConfigurationName = Release;
 		};
 		};
-		5B57BBAA1A9B26AA0036A6CC /* Build configuration list for PBXProject "ChartsDemo" */ = {
+		5B57BBAA1A9B26AA0036A6CC /* Build configuration list for PBXProject "ChartsDemo-iOS" */ = {
 			isa = XCConfigurationList;
 			isa = XCConfigurationList;
 			buildConfigurations = (
 			buildConfigurations = (
 				5B57BBD01A9B26AA0036A6CC /* Debug */,
 				5B57BBD01A9B26AA0036A6CC /* Debug */,
@@ -1094,7 +1100,7 @@
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Release;
 			defaultConfigurationName = Release;
 		};
 		};
-		5B57BBD21A9B26AA0036A6CC /* Build configuration list for PBXNativeTarget "ChartsDemo" */ = {
+		5B57BBD21A9B26AA0036A6CC /* Build configuration list for PBXNativeTarget "ChartsDemo-iOS" */ = {
 			isa = XCConfigurationList;
 			isa = XCConfigurationList;
 			buildConfigurations = (
 			buildConfigurations = (
 				5B57BBD31A9B26AA0036A6CC /* Debug */,
 				5B57BBD31A9B26AA0036A6CC /* Debug */,

+ 0 - 0
ChartsDemo/Objective-C/AppDelegate.h → ChartsDemo-iOS/Objective-C/AppDelegate.h


+ 0 - 0
ChartsDemo/Objective-C/AppDelegate.m → ChartsDemo-iOS/Objective-C/AppDelegate.m


+ 0 - 0
ChartsDemo/Objective-C/Components/BalloonMarker.swift → ChartsDemo-iOS/Objective-C/Components/BalloonMarker.swift


+ 0 - 0
ChartsDemo/Objective-C/Components/RadarMarkerView.swift → ChartsDemo-iOS/Objective-C/Components/RadarMarkerView.swift


+ 0 - 0
ChartsDemo/Objective-C/Components/XYMarkerView.swift → ChartsDemo-iOS/Objective-C/Components/XYMarkerView.swift


+ 1 - 1
ChartsDemo/Objective-C/DemoBaseViewController.h → ChartsDemo-iOS/Objective-C/DemoBaseViewController.h

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import <UIKit/UIKit.h>
 #import <UIKit/UIKit.h>
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface DemoBaseViewController : UIViewController
 @interface DemoBaseViewController : UIViewController
 {
 {

+ 0 - 0
ChartsDemo/Objective-C/DemoBaseViewController.m → ChartsDemo-iOS/Objective-C/DemoBaseViewController.m


+ 0 - 0
ChartsDemo/Objective-C/DemoListViewController.h → ChartsDemo-iOS/Objective-C/DemoListViewController.h


+ 0 - 0
ChartsDemo/Objective-C/DemoListViewController.m → ChartsDemo-iOS/Objective-C/DemoListViewController.m


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


+ 1 - 1
ChartsDemo/Objective-C/Demos/AnotherBarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/AnotherBarChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "AnotherBarChartViewController.h"
 #import "AnotherBarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface AnotherBarChartViewController () <ChartViewDelegate>
 @interface AnotherBarChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/BarChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/BarChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/BarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/BarChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "BarChartViewController.h"
 #import "BarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 #import "DayAxisValueFormatter.h"
 #import "DayAxisValueFormatter.h"
 
 
 @interface BarChartViewController () <ChartViewDelegate>
 @interface BarChartViewController () <ChartViewDelegate>

+ 0 - 0
ChartsDemo/Objective-C/Demos/BubbleChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/BubbleChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/BubbleChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/BubbleChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "BubbleChartViewController.h"
 #import "BubbleChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface BubbleChartViewController () <ChartViewDelegate>
 @interface BubbleChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/CandleStickChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/CandleStickChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/CandleStickChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/CandleStickChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "CandleStickChartViewController.h"
 #import "CandleStickChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface CandleStickChartViewController () <ChartViewDelegate>
 @interface CandleStickChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/ColoredLineChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/ColoredLineChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/ColoredLineChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/ColoredLineChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "ColoredLineChartViewController.h"
 #import "ColoredLineChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface ColoredLineChartViewController () <ChartViewDelegate>
 @interface ColoredLineChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/CombinedChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/CombinedChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/CombinedChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/CombinedChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "CombinedChartViewController.h"
 #import "CombinedChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 #define ITEM_COUNT 12
 #define ITEM_COUNT 12
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/CubicLineChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/CubicLineChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/CubicLineChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/CubicLineChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "CubicLineChartViewController.h"
 #import "CubicLineChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface CubicLineSampleFillFormatter : NSObject <IChartFillFormatter>
 @interface CubicLineSampleFillFormatter : NSObject <IChartFillFormatter>
 {
 {

+ 0 - 0
ChartsDemo/Objective-C/Demos/HalfPieChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/HalfPieChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/HalfPieChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/HalfPieChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "HalfPieChartViewController.h"
 #import "HalfPieChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface HalfPieChartViewController () <ChartViewDelegate>
 @interface HalfPieChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/HorizontalBarChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/HorizontalBarChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/HorizontalBarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/HorizontalBarChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "HorizontalBarChartViewController.h"
 #import "HorizontalBarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface HorizontalBarChartViewController () <ChartViewDelegate>
 @interface HorizontalBarChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/LineChart1ViewController.h → ChartsDemo-iOS/Objective-C/Demos/LineChart1ViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/LineChart1ViewController.m → ChartsDemo-iOS/Objective-C/Demos/LineChart1ViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "LineChart1ViewController.h"
 #import "LineChart1ViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface LineChart1ViewController () <ChartViewDelegate>
 @interface LineChart1ViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/LineChart2ViewController.h → ChartsDemo-iOS/Objective-C/Demos/LineChart2ViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/LineChart2ViewController.m → ChartsDemo-iOS/Objective-C/Demos/LineChart2ViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "LineChart2ViewController.h"
 #import "LineChart2ViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface LineChart2ViewController () <ChartViewDelegate>
 @interface LineChart2ViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/LineChartFilledViewController.h → ChartsDemo-iOS/Objective-C/Demos/LineChartFilledViewController.h


+ 3 - 3
ChartsDemo/Objective-C/Demos/LineChartFilledViewController.m → ChartsDemo-iOS/Objective-C/Demos/LineChartFilledViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "LineChartFilledViewController.h"
 #import "LineChartFilledViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface LineChartFilledViewController () <ChartViewDelegate>
 @interface LineChartFilledViewController () <ChartViewDelegate>
 
 
@@ -124,7 +124,7 @@
         set1.highlightColor = [UIColor colorWithRed:244/255.0 green:117/255.0 blue:117/255.0 alpha:1.0];
         set1.highlightColor = [UIColor colorWithRed:244/255.0 green:117/255.0 blue:117/255.0 alpha:1.0];
         set1.drawCircleHoleEnabled = NO;
         set1.drawCircleHoleEnabled = NO;
         set1.fillFormatter = [ChartDefaultFillFormatter withBlock:^CGFloat(id<ILineChartDataSet>  _Nonnull dataSet, id<LineChartDataProvider>  _Nonnull dataProvider) {
         set1.fillFormatter = [ChartDefaultFillFormatter withBlock:^CGFloat(id<ILineChartDataSet>  _Nonnull dataSet, id<LineChartDataProvider>  _Nonnull dataProvider) {
-            return _chartView.leftAxis.axisMinimum;
+            return self.chartView.leftAxis.axisMinimum;
         }];
         }];
         
         
         set2 = [[LineChartDataSet alloc] initWithValues:yVals2 label:@"DataSet 2"];
         set2 = [[LineChartDataSet alloc] initWithValues:yVals2 label:@"DataSet 2"];
@@ -139,7 +139,7 @@
         set2.highlightColor = [UIColor colorWithRed:244/255.0 green:117/255.0 blue:117/255.0 alpha:1.0];
         set2.highlightColor = [UIColor colorWithRed:244/255.0 green:117/255.0 blue:117/255.0 alpha:1.0];
         set2.drawCircleHoleEnabled = NO;
         set2.drawCircleHoleEnabled = NO;
         set2.fillFormatter = [ChartDefaultFillFormatter withBlock:^CGFloat(id<ILineChartDataSet>  _Nonnull dataSet, id<LineChartDataProvider>  _Nonnull dataProvider) {
         set2.fillFormatter = [ChartDefaultFillFormatter withBlock:^CGFloat(id<ILineChartDataSet>  _Nonnull dataSet, id<LineChartDataProvider>  _Nonnull dataProvider) {
-            return _chartView.leftAxis.axisMaximum;
+            return self.chartView.leftAxis.axisMaximum;
         }];
         }];
         
         
         NSMutableArray *dataSets = [[NSMutableArray alloc] init];
         NSMutableArray *dataSets = [[NSMutableArray alloc] init];

+ 0 - 0
ChartsDemo/Objective-C/Demos/LineChartTimeViewController.h → ChartsDemo-iOS/Objective-C/Demos/LineChartTimeViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/LineChartTimeViewController.m → ChartsDemo-iOS/Objective-C/Demos/LineChartTimeViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "LineChartTimeViewController.h"
 #import "LineChartTimeViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 #import "DateValueFormatter.h"
 #import "DateValueFormatter.h"
 
 
 @interface LineChartTimeViewController () <ChartViewDelegate>
 @interface LineChartTimeViewController () <ChartViewDelegate>

+ 0 - 0
ChartsDemo/Objective-C/Demos/MultipleBarChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/MultipleBarChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/MultipleBarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/MultipleBarChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "MultipleBarChartViewController.h"
 #import "MultipleBarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 #import "IntAxisValueFormatter.h"
 #import "IntAxisValueFormatter.h"
 
 
 @interface MultipleBarChartViewController () <ChartViewDelegate>
 @interface MultipleBarChartViewController () <ChartViewDelegate>

+ 0 - 0
ChartsDemo/Objective-C/Demos/MultipleLinesChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/MultipleLinesChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/MultipleLinesChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/MultipleLinesChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "MultipleLinesChartViewController.h"
 #import "MultipleLinesChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface MultipleLinesChartViewController () <ChartViewDelegate>
 @interface MultipleLinesChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/NegativeStackedBarChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/NegativeStackedBarChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/NegativeStackedBarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/NegativeStackedBarChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "NegativeStackedBarChartViewController.h"
 #import "NegativeStackedBarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface NegativeStackedBarChartViewController () <ChartViewDelegate, IChartAxisValueFormatter>
 @interface NegativeStackedBarChartViewController () <ChartViewDelegate, IChartAxisValueFormatter>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/PieChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/PieChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/PieChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/PieChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "PieChartViewController.h"
 #import "PieChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface PieChartViewController () <ChartViewDelegate>
 @interface PieChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/PiePolylineChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/PiePolylineChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/PiePolylineChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/PiePolylineChartViewController.m

@@ -7,7 +7,7 @@
 //
 //
 
 
 #import "PiePolylineChartViewController.h"
 #import "PiePolylineChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface PiePolylineChartViewController () <ChartViewDelegate>
 @interface PiePolylineChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/PositiveNegativeBarChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/PositiveNegativeBarChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/PositiveNegativeBarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/PositiveNegativeBarChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "PositiveNegativeBarChartViewController.h"
 #import "PositiveNegativeBarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface PositiveNegativeBarChartViewController () <ChartViewDelegate, IChartAxisValueFormatter>
 @interface PositiveNegativeBarChartViewController () <ChartViewDelegate, IChartAxisValueFormatter>
 {
 {

+ 0 - 0
ChartsDemo/Objective-C/Demos/RadarChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/RadarChartViewController.h


+ 13 - 15
ChartsDemo/Objective-C/Demos/RadarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/RadarChartViewController.m

@@ -10,17 +10,15 @@
 //
 //
 
 
 #import "RadarChartViewController.h"
 #import "RadarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface RadarChartViewController () <ChartViewDelegate, IChartAxisValueFormatter>
 @interface RadarChartViewController () <ChartViewDelegate, IChartAxisValueFormatter>
-{
-    NSArray<NSString *> *activities;
-    UIColor *originalBarBgColor;
-    UIColor *originalBarTintColor;
-    UIBarStyle originalBarStyle;
-}
 
 
 @property (nonatomic, strong) IBOutlet RadarChartView *chartView;
 @property (nonatomic, strong) IBOutlet RadarChartView *chartView;
+@property (nonatomic, strong) NSArray<NSString *> *activities;
+@property (nonatomic, strong) UIColor *originalBarBgColor;
+@property (nonatomic, strong) UIColor *originalBarTintColor;
+@property (nonatomic) UIBarStyle originalBarStyle;
 
 
 @end
 @end
 
 
@@ -30,7 +28,7 @@
 {
 {
     [super viewDidLoad];
     [super viewDidLoad];
     
     
-    activities = @[ @"Burger", @"Steak", @"Salad", @"Pasta", @"Pizza" ];
+    self.activities = @[ @"Burger", @"Steak", @"Salad", @"Pasta", @"Pizza" ];
     
     
     self.title = @"Radar Bar Chart";
     self.title = @"Radar Bar Chart";
     
     
@@ -98,9 +96,9 @@
     
     
     [UIView animateWithDuration:0.15 animations:^{
     [UIView animateWithDuration:0.15 animations:^{
         UINavigationBar *navigationBar = self.navigationController.navigationBar;
         UINavigationBar *navigationBar = self.navigationController.navigationBar;
-        originalBarBgColor = self.navigationController.navigationBar.barTintColor;
-        originalBarTintColor = self.navigationController.navigationBar.tintColor;
-        originalBarStyle = self.navigationController.navigationBar.barStyle;
+        self.originalBarBgColor = navigationBar.barTintColor;
+        self.originalBarTintColor = navigationBar.tintColor;
+        self.originalBarStyle = navigationBar.barStyle;
         
         
         navigationBar.barTintColor = self.view.backgroundColor;
         navigationBar.barTintColor = self.view.backgroundColor;
         navigationBar.tintColor = UIColor.whiteColor;
         navigationBar.tintColor = UIColor.whiteColor;
@@ -114,9 +112,9 @@
     
     
     [UIView animateWithDuration:0.15 animations:^{
     [UIView animateWithDuration:0.15 animations:^{
         UINavigationBar *navigationBar = self.navigationController.navigationBar;
         UINavigationBar *navigationBar = self.navigationController.navigationBar;
-        navigationBar.barTintColor = originalBarBgColor;
-        navigationBar.tintColor = originalBarTintColor;
-        navigationBar.barStyle = originalBarStyle;
+        navigationBar.barTintColor = self.originalBarBgColor;
+        navigationBar.tintColor = self.originalBarTintColor;
+        navigationBar.barStyle = self.originalBarStyle;
     }];
     }];
 }
 }
 
 
@@ -270,7 +268,7 @@
 - (NSString *)stringForValue:(double)value
 - (NSString *)stringForValue:(double)value
                         axis:(ChartAxisBase *)axis
                         axis:(ChartAxisBase *)axis
 {
 {
-    return activities[(int) value % activities.count];
+    return self.activities[(int) value % self.activities.count];
 }
 }
 
 
 @end
 @end

+ 0 - 0
ChartsDemo/Objective-C/Demos/ScatterChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/ScatterChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/ScatterChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/ScatterChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "ScatterChartViewController.h"
 #import "ScatterChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface ScatterChartViewController () <ChartViewDelegate>
 @interface ScatterChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/SinusBarChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/SinusBarChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/SinusBarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/SinusBarChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "SinusBarChartViewController.h"
 #import "SinusBarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface SinusBarChartViewController () <ChartViewDelegate>
 @interface SinusBarChartViewController () <ChartViewDelegate>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Demos/StackedBarChartViewController.h → ChartsDemo-iOS/Objective-C/Demos/StackedBarChartViewController.h


+ 1 - 1
ChartsDemo/Objective-C/Demos/StackedBarChartViewController.m → ChartsDemo-iOS/Objective-C/Demos/StackedBarChartViewController.m

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import "StackedBarChartViewController.h"
 #import "StackedBarChartViewController.h"
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface StackedBarChartViewController () <ChartViewDelegate>
 @interface StackedBarChartViewController () <ChartViewDelegate>
 
 

+ 1 - 1
ChartsDemo/Objective-C/Formatters/DateValueFormatter.h → ChartsDemo-iOS/Objective-C/Formatters/DateValueFormatter.h

@@ -10,7 +10,7 @@
 //
 //
 
 
 #import <UIKit/UIKit.h>
 #import <UIKit/UIKit.h>
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface DateValueFormatter : NSObject <IChartAxisValueFormatter>
 @interface DateValueFormatter : NSObject <IChartAxisValueFormatter>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Formatters/DateValueFormatter.m → ChartsDemo-iOS/Objective-C/Formatters/DateValueFormatter.m


+ 1 - 1
ChartsDemo/Objective-C/Formatters/DayAxisValueFormatter.h → ChartsDemo-iOS/Objective-C/Formatters/DayAxisValueFormatter.h

@@ -5,7 +5,7 @@
 //
 //
 
 
 #import <UIKit/UIKit.h>
 #import <UIKit/UIKit.h>
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface DayAxisValueFormatter : NSObject <IChartAxisValueFormatter>
 @interface DayAxisValueFormatter : NSObject <IChartAxisValueFormatter>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Formatters/DayAxisValueFormatter.m → ChartsDemo-iOS/Objective-C/Formatters/DayAxisValueFormatter.m


+ 1 - 1
ChartsDemo/Objective-C/Formatters/IntAxisValueFormatter.h → ChartsDemo-iOS/Objective-C/Formatters/IntAxisValueFormatter.h

@@ -5,7 +5,7 @@
 //
 //
 
 
 #import <UIKit/UIKit.h>
 #import <UIKit/UIKit.h>
-#import "ChartsDemo-Swift.h"
+#import "ChartsDemo_iOS-Swift.h"
 
 
 @interface IntAxisValueFormatter : NSObject <IChartAxisValueFormatter>
 @interface IntAxisValueFormatter : NSObject <IChartAxisValueFormatter>
 
 

+ 0 - 0
ChartsDemo/Objective-C/Formatters/IntAxisValueFormatter.m → ChartsDemo-iOS/Objective-C/Formatters/IntAxisValueFormatter.m


+ 0 - 0
ChartsDemo/Objective-C/Formatters/LargeValueFormatter.swift → ChartsDemo-iOS/Objective-C/Formatters/LargeValueFormatter.swift


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/AppIcon.appiconset/Contents.json → ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Contents.json


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png → ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png → ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png → ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png → ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png → ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png → ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/AppIcon.appiconset/iTunesArtwork@2x.png → ChartsDemo-iOS/Resources/Images.xcassets/AppIcon.appiconset/iTunesArtwork@2x.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/Contents.json → ChartsDemo-iOS/Resources/Images.xcassets/Contents.json


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/icon.imageset/Contents.json → ChartsDemo-iOS/Resources/Images.xcassets/icon.imageset/Contents.json


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/icon.imageset/star-1.png → ChartsDemo-iOS/Resources/Images.xcassets/icon.imageset/star-1.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/icon.imageset/star-2.png → ChartsDemo-iOS/Resources/Images.xcassets/icon.imageset/star-2.png


+ 0 - 0
ChartsDemo/Resources/Images.xcassets/icon.imageset/star.png → ChartsDemo-iOS/Resources/Images.xcassets/icon.imageset/star.png


+ 0 - 0
ChartsDemo/Resources/Launch Screen.storyboard → ChartsDemo-iOS/Resources/Launch Screen.storyboard


+ 0 - 0
ChartsDemo/Resources/markers/radar_marker@3x.png → ChartsDemo-iOS/Resources/markers/radar_marker@3x.png


+ 0 - 0
ChartsDemo/Supporting Files/ChartsDemo-Bridging-Header.h → ChartsDemo-iOS/Supporting Files/ChartsDemo-Bridging-Header.h


+ 0 - 0
ChartsDemo/Supporting Files/Info.plist → ChartsDemo-iOS/Supporting Files/Info.plist


+ 0 - 0
ChartsDemo/Supporting Files/main.m → ChartsDemo-iOS/Supporting Files/main.m


+ 0 - 0
ChartsDemo/Swift/AppDelegate.swift → ChartsDemo-iOS/Swift/AppDelegate.swift


+ 0 - 0
ChartsDemo/Swift/Components/BalloonMarker.swift → ChartsDemo-iOS/Swift/Components/BalloonMarker.swift


+ 0 - 0
ChartsDemo/Swift/Components/RadarMarkerView.swift → ChartsDemo-iOS/Swift/Components/RadarMarkerView.swift


+ 0 - 0
ChartsDemo/Swift/Components/XYMarkerView.swift → ChartsDemo-iOS/Swift/Components/XYMarkerView.swift


+ 0 - 0
ChartsDemo/Swift/DemoBaseViewController.swift → ChartsDemo-iOS/Swift/DemoBaseViewController.swift


+ 0 - 0
ChartsDemo/Swift/DemoListViewController.swift → ChartsDemo-iOS/Swift/DemoListViewController.swift


+ 0 - 0
ChartsDemo/Swift/Demos/AnotherBarChartViewController.swift → ChartsDemo-iOS/Swift/Demos/AnotherBarChartViewController.swift


+ 0 - 0
ChartsDemo/Swift/Demos/BarChartViewController.swift → ChartsDemo-iOS/Swift/Demos/BarChartViewController.swift


+ 0 - 0
ChartsDemo/Swift/Demos/BubbleChartViewController.swift → ChartsDemo-iOS/Swift/Demos/BubbleChartViewController.swift


+ 0 - 0
ChartsDemo/Swift/Demos/CandleStickChartViewController.swift → ChartsDemo-iOS/Swift/Demos/CandleStickChartViewController.swift


+ 0 - 0
ChartsDemo/Swift/Demos/ColoredLineChartViewController.swift → ChartsDemo-iOS/Swift/Demos/ColoredLineChartViewController.swift


+ 0 - 0
ChartsDemo/Swift/Demos/CombinedChartViewController.swift → ChartsDemo-iOS/Swift/Demos/CombinedChartViewController.swift


+ 0 - 0
ChartsDemo/Swift/Demos/CubicLineChartViewController.swift → ChartsDemo-iOS/Swift/Demos/CubicLineChartViewController.swift


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov