Mercurial > public > stock-charts
changeset 64:d8076ee78a96 1.1.1
Delete DemoProject
author | Dennis Concepción Martín <66180929+denniscm190@users.noreply.github.com> |
---|---|
date | Fri, 07 May 2021 18:50:26 +0200 |
parents | fdc4db7f23de |
children | 2b23d1f2d2d9 |
files | DemoProject/DemoProject.xcodeproj/project.pbxproj DemoProject/DemoProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate DemoProject/DemoProject.xcodeproj/xcuserdata/dennis.xcuserdatad/xcschemes/xcschememanagement.plist DemoProject/DemoProject/Assets.xcassets/AccentColor.colorset/Contents.json DemoProject/DemoProject/Assets.xcassets/AppIcon.appiconset/Contents.json DemoProject/DemoProject/Assets.xcassets/Contents.json DemoProject/DemoProject/ContentView.swift DemoProject/DemoProject/DemoProjectApp.swift DemoProject/DemoProject/Info.plist DemoProject/DemoProject/Preview Content/Preview Assets.xcassets/Contents.json DemoProject/DemoProject/View1.swift DemoProject/DemoProject/View2.swift StockCharts.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate |
diffstat | 16 files changed, 0 insertions(+), 770 deletions(-) [+] |
line wrap: on
line diff
--- a/DemoProject/DemoProject.xcodeproj/project.pbxproj Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,368 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 9553737B26454C37003BDDEC /* StockCharts in Frameworks */ = {isa = PBXBuildFile; productRef = 9553737A26454C37003BDDEC /* StockCharts */; }; - 95770BDF263C5F85003FA924 /* DemoProjectApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95770BDE263C5F85003FA924 /* DemoProjectApp.swift */; }; - 95770BE1263C5F85003FA924 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95770BE0263C5F85003FA924 /* ContentView.swift */; }; - 95770BE3263C5F86003FA924 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 95770BE2263C5F86003FA924 /* Assets.xcassets */; }; - 95770BE6263C5F86003FA924 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 95770BE5263C5F86003FA924 /* Preview Assets.xcassets */; }; - 95770BEE263C5FCD003FA924 /* View1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95770BED263C5FCD003FA924 /* View1.swift */; }; - 9584AA92264048D700626769 /* View2.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9584AA91264048D700626769 /* View2.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 95770BDB263C5F85003FA924 /* DemoProject.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DemoProject.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 95770BDE263C5F85003FA924 /* DemoProjectApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoProjectApp.swift; sourceTree = "<group>"; }; - 95770BE0263C5F85003FA924 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; }; - 95770BE2263C5F86003FA924 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; - 95770BE5263C5F86003FA924 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; }; - 95770BE7263C5F86003FA924 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; - 95770BED263C5FCD003FA924 /* View1.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = View1.swift; sourceTree = "<group>"; }; - 9584AA91264048D700626769 /* View2.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = View2.swift; sourceTree = "<group>"; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 95770BD8263C5F85003FA924 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 9553737B26454C37003BDDEC /* StockCharts in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 95770BD2263C5F85003FA924 = { - isa = PBXGroup; - children = ( - 95770BDD263C5F85003FA924 /* DemoProject */, - 95770BDC263C5F85003FA924 /* Products */, - ); - sourceTree = "<group>"; - }; - 95770BDC263C5F85003FA924 /* Products */ = { - isa = PBXGroup; - children = ( - 95770BDB263C5F85003FA924 /* DemoProject.app */, - ); - name = Products; - sourceTree = "<group>"; - }; - 95770BDD263C5F85003FA924 /* DemoProject */ = { - isa = PBXGroup; - children = ( - 95770BDE263C5F85003FA924 /* DemoProjectApp.swift */, - 95770BE0263C5F85003FA924 /* ContentView.swift */, - 95770BED263C5FCD003FA924 /* View1.swift */, - 9584AA91264048D700626769 /* View2.swift */, - 95770BE2263C5F86003FA924 /* Assets.xcassets */, - 95770BE7263C5F86003FA924 /* Info.plist */, - 95770BE4263C5F86003FA924 /* Preview Content */, - ); - path = DemoProject; - sourceTree = "<group>"; - }; - 95770BE4263C5F86003FA924 /* Preview Content */ = { - isa = PBXGroup; - children = ( - 95770BE5263C5F86003FA924 /* Preview Assets.xcassets */, - ); - path = "Preview Content"; - sourceTree = "<group>"; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 95770BDA263C5F85003FA924 /* DemoProject */ = { - isa = PBXNativeTarget; - buildConfigurationList = 95770BEA263C5F86003FA924 /* Build configuration list for PBXNativeTarget "DemoProject" */; - buildPhases = ( - 95770BD7263C5F85003FA924 /* Sources */, - 95770BD8263C5F85003FA924 /* Frameworks */, - 95770BD9263C5F85003FA924 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DemoProject; - packageProductDependencies = ( - 9553737A26454C37003BDDEC /* StockCharts */, - ); - productName = DemoProject; - productReference = 95770BDB263C5F85003FA924 /* DemoProject.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 95770BD3263C5F85003FA924 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1250; - LastUpgradeCheck = 1250; - TargetAttributes = { - 95770BDA263C5F85003FA924 = { - CreatedOnToolsVersion = 12.5; - }; - }; - }; - buildConfigurationList = 95770BD6263C5F85003FA924 /* Build configuration list for PBXProject "DemoProject" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 95770BD2263C5F85003FA924; - packageReferences = ( - 9553737926454C37003BDDEC /* XCRemoteSwiftPackageReference "StockCharts" */, - ); - productRefGroup = 95770BDC263C5F85003FA924 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 95770BDA263C5F85003FA924 /* DemoProject */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 95770BD9263C5F85003FA924 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 95770BE6263C5F86003FA924 /* Preview Assets.xcassets in Resources */, - 95770BE3263C5F86003FA924 /* Assets.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 95770BD7263C5F85003FA924 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 95770BE1263C5F85003FA924 /* ContentView.swift in Sources */, - 95770BEE263C5FCD003FA924 /* View1.swift in Sources */, - 95770BDF263C5F85003FA924 /* DemoProjectApp.swift in Sources */, - 9584AA92264048D700626769 /* View2.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 95770BE8263C5F86003FA924 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.5; - 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"; - }; - name = Debug; - }; - 95770BE9263C5F86003FA924 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.5; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 95770BEB263C5F86003FA924 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_ASSET_PATHS = "\"DemoProject/Preview Content\""; - DEVELOPMENT_TEAM = MTX83R5H8X; - ENABLE_PREVIEWS = YES; - INFOPLIST_FILE = DemoProject/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.dennistech.DemoProject; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 95770BEC263C5F86003FA924 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_ASSET_PATHS = "\"DemoProject/Preview Content\""; - DEVELOPMENT_TEAM = MTX83R5H8X; - ENABLE_PREVIEWS = YES; - INFOPLIST_FILE = DemoProject/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 14.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = io.dennistech.DemoProject; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 95770BD6263C5F85003FA924 /* Build configuration list for PBXProject "DemoProject" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 95770BE8263C5F86003FA924 /* Debug */, - 95770BE9263C5F86003FA924 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 95770BEA263C5F86003FA924 /* Build configuration list for PBXNativeTarget "DemoProject" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 95770BEB263C5F86003FA924 /* Debug */, - 95770BEC263C5F86003FA924 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCRemoteSwiftPackageReference section */ - 9553737926454C37003BDDEC /* XCRemoteSwiftPackageReference "StockCharts" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/denniscm190/StockCharts.git"; - requirement = { - branch = denniscm190; - kind = branch; - }; - }; -/* End XCRemoteSwiftPackageReference section */ - -/* Begin XCSwiftPackageProductDependency section */ - 9553737A26454C37003BDDEC /* StockCharts */ = { - isa = XCSwiftPackageProductDependency; - package = 9553737926454C37003BDDEC /* XCRemoteSwiftPackageReference "StockCharts" */; - productName = StockCharts; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = 95770BD3263C5F85003FA924 /* Project object */; -}
--- a/DemoProject/DemoProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Workspace - version = "1.0"> - <FileRef - location = "self:"> - </FileRef> -</Workspace>
--- a/DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -<?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>
--- a/DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "StockCharts", - "repositoryURL": "https://github.com/denniscm190/StockCharts.git", - "state": { - "branch": "denniscm190", - "revision": "838eb395f952ad7271e53429f7cd91fb21c84108", - "version": null - } - } - ] - }, - "version": 1 -}
Binary file DemoProject/DemoProject.xcodeproj/project.xcworkspace/xcuserdata/dennis.xcuserdatad/UserInterfaceState.xcuserstate has changed
--- a/DemoProject/DemoProject.xcodeproj/xcuserdata/dennis.xcuserdatad/xcschemes/xcschememanagement.plist Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -<?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>SchemeUserState</key> - <dict> - <key>DemoProject.xcscheme_^#shared#^_</key> - <dict> - <key>orderHint</key> - <integer>0</integer> - </dict> - </dict> -</dict> -</plist>
--- a/DemoProject/DemoProject/Assets.xcassets/AccentColor.colorset/Contents.json Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ -{ - "colors" : [ - { - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -}
--- a/DemoProject/DemoProject/Assets.xcassets/AppIcon.appiconset/Contents.json Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,98 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "20x20" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "20x20" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "29x29" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "29x29" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "40x40" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "40x40" - }, - { - "idiom" : "iphone", - "scale" : "2x", - "size" : "60x60" - }, - { - "idiom" : "iphone", - "scale" : "3x", - "size" : "60x60" - }, - { - "idiom" : "ipad", - "scale" : "1x", - "size" : "20x20" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "20x20" - }, - { - "idiom" : "ipad", - "scale" : "1x", - "size" : "29x29" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "29x29" - }, - { - "idiom" : "ipad", - "scale" : "1x", - "size" : "40x40" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "40x40" - }, - { - "idiom" : "ipad", - "scale" : "1x", - "size" : "76x76" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "76x76" - }, - { - "idiom" : "ipad", - "scale" : "2x", - "size" : "83.5x83.5" - }, - { - "idiom" : "ios-marketing", - "scale" : "1x", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -}
--- a/DemoProject/DemoProject/Assets.xcassets/Contents.json Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -}
--- a/DemoProject/DemoProject/ContentView.swift Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,47 +0,0 @@ -// -// ContentView.swift -// DemoProject -// -// Created by Dennis Concepción Martín on 30/4/21. -// - -import SwiftUI - -struct ContentView: View { - var body: some View { - TabView { - View1(data: generateSampleData(500)) - .tabItem { - Label("View 1", systemImage: "1.circle") - } - View2(data: generateSampleData(200)) - .tabItem { - Label("View 2", systemImage: "2.circle") - } - } - } - - private func generateSampleData(_ n: Int) -> [Double] { - var prices = [Double]() - - for _ in (1..<n) { - var lastPrice = prices.last ?? 50.0 - let randomNumber = Double.random(in: 0...0.02) - - if randomNumber < 0.0145 { - lastPrice = lastPrice * (1 - randomNumber) - } else { - lastPrice = lastPrice * (1 + randomNumber) - } - - prices.append(lastPrice) - } - return prices - } -} - -struct ContentView_Previews: PreviewProvider { - static var previews: some View { - ContentView() - } -}
--- a/DemoProject/DemoProject/DemoProjectApp.swift Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -// -// DemoProjectApp.swift -// DemoProject -// -// Created by Dennis Concepción Martín on 30/4/21. -// - -import SwiftUI - -@main -struct DemoProjectApp: App { - var body: some Scene { - WindowGroup { - ContentView() - } - } -}
--- a/DemoProject/DemoProject/Info.plist Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -<?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> - <key>LSRequiresIPhoneOS</key> - <true/> - <key>UIApplicationSceneManifest</key> - <dict> - <key>UIApplicationSupportsMultipleScenes</key> - <true/> - </dict> - <key>UIApplicationSupportsIndirectInputEvents</key> - <true/> - <key>UILaunchScreen</key> - <dict/> - <key>UIRequiredDeviceCapabilities</key> - <array> - <string>armv7</string> - </array> - <key>UISupportedInterfaceOrientations</key> - <array> - <string>UIInterfaceOrientationPortrait</string> - <string>UIInterfaceOrientationLandscapeLeft</string> - <string>UIInterfaceOrientationLandscapeRight</string> - </array> - <key>UISupportedInterfaceOrientations~ipad</key> - <array> - <string>UIInterfaceOrientationPortrait</string> - <string>UIInterfaceOrientationPortraitUpsideDown</string> - <string>UIInterfaceOrientationLandscapeLeft</string> - <string>UIInterfaceOrientationLandscapeRight</string> - </array> -</dict> -</plist>
--- a/DemoProject/DemoProject/Preview Content/Preview Assets.xcassets/Contents.json Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -{ - "info" : { - "author" : "xcode", - "version" : 1 - } -}
--- a/DemoProject/DemoProject/View1.swift Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,59 +0,0 @@ -// -// View1.swift -// DemoProject -// -// Created by Dennis Concepción Martín on 30/4/21. -// - -import SwiftUI -import StockCharts - -struct View1: View { - var data: [Double] - var dates: [String]? - var hours: [String]? - var dragGesture: Bool? - - var range = ["5D", "1M", "3M", "1Y", "5Y"] - @State private var selectedRange = "3M" - - var body: some View { - NavigationView { - VStack(alignment: .leading) { - Text("Apple Inc") - .font(.title3) - .padding([.horizontal, .bottom]) - - Picker("Select a range", selection: $selectedRange) { - ForEach(range, id: \.self) { - Text($0) - } - } - .pickerStyle(SegmentedPickerStyle()) - .padding(.horizontal) - - LineChartView(data: data, dates: dates, hours: hours, dragGesture: dragGesture) - .padding(.vertical) - - List(1..<7) { i in - Text("Item \(i)") - } - } - .navigationTitle("AAPL") - .toolbar { - ToolbarItem(placement: .navigationBarTrailing) { - Button(action: {}) { - Image(systemName: "star") - } - } - - ToolbarItem(placement: .navigationBarLeading) { - Button(action: {}) { - Image(systemName: "plus.circle") - } - } - } - } - .navigationViewStyle(StackNavigationViewStyle()) - } -}
--- a/DemoProject/DemoProject/View2.swift Fri May 07 12:28:56 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -// -// View2.swift -// DemoProject -// -// Created by Dennis Concepción Martín on 3/5/21. -// - -import SwiftUI -import StockCharts - -struct View2: View { - var data: [Double] - - var body: some View { - NavigationView { - List { - ForEach((1..<4)) { _ in - ScrollView(.horizontal, showsIndicators: false) { - HStack(spacing: 20) { - ForEach((1..<10)) { _ in - ItemView2(data: data) - } - } - .padding() - } - .frame(height: 250) - .listRowInsets(EdgeInsets()) - } - } - .navigationTitle("View2") - .navigationBarTitleDisplayMode(.inline) - } - } -} - -struct ItemView2: View { - var data: [Double] - - - var body: some View { - RoundedRectangle(cornerRadius: 15) - .foregroundColor(Color(.secondarySystemBackground)) - .frame(width: 205, height: 230) - .overlay( - VStack(alignment: .leading) { - Group { - Text("AAPL") - .font(.title2) - .fontWeight(.semibold) - .padding(.top) - - Text("Apple Inc") - .font(.headline) - - } - .padding(.leading) - LineChartView(data: data, dates: nil, hours: nil, dragGesture: false) - .padding(.bottom) - .clipShape(RoundedRectangle(cornerRadius: 15)) - } - ) - } -}