From b3288eb9eac7d7776849271a4270c1eda9713e91 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 16 May 2023 15:48:28 +0300 Subject: Add SwiftUI App --- Juick.xcodeproj/project.pbxproj | 260 ++++++++++++++++++++- Juick/Juick.entitlements | 32 +-- .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 63 +++++ JuickNext/Assets.xcassets/Contents.json | 6 + JuickNext/JuickApp.swift | 18 ++ .../Preview Assets.xcassets/Contents.json | 6 + JuickNext/View/ContentView.swift | 32 +++ JuickNext/View/DiscussionsView.swift | 21 ++ JuickNext/View/Today.swift | 21 ++ 10 files changed, 455 insertions(+), 15 deletions(-) create mode 100644 JuickNext/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 JuickNext/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 JuickNext/Assets.xcassets/Contents.json create mode 100644 JuickNext/JuickApp.swift create mode 100644 JuickNext/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 JuickNext/View/ContentView.swift create mode 100644 JuickNext/View/DiscussionsView.swift create mode 100644 JuickNext/View/Today.swift diff --git a/Juick.xcodeproj/project.pbxproj b/Juick.xcodeproj/project.pbxproj index a8bb953..2f8fcb0 100644 --- a/Juick.xcodeproj/project.pbxproj +++ b/Juick.xcodeproj/project.pbxproj @@ -10,6 +10,13 @@ 7705301B25D4414D0058DCE6 /* User+UIView.m in Sources */ = {isa = PBXBuildFile; fileRef = 7705301A25D4414D0058DCE6 /* User+UIView.m */; }; 770C86E325117D78009B6404 /* UIView+Shimmer.m in Sources */ = {isa = PBXBuildFile; fileRef = 770C86E125117D78009B6404 /* UIView+Shimmer.m */; }; 770C86F0251211B6009B6404 /* NotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 770C86EF251211B6009B6404 /* NotificationService.swift */; }; + 77163AB42A104786009BEE0E /* JuickApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77163AB32A104786009BEE0E /* JuickApp.swift */; }; + 77163AB62A104786009BEE0E /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77163AB52A104786009BEE0E /* ContentView.swift */; }; + 77163AB82A104787009BEE0E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 77163AB72A104787009BEE0E /* Assets.xcassets */; }; + 77163ABC2A104787009BEE0E /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 77163ABB2A104787009BEE0E /* Preview Assets.xcassets */; }; + 77163AC42A104AFC009BEE0E /* Today.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77163AC32A104AFC009BEE0E /* Today.swift */; }; + 77163AC52A104C67009BEE0E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 77317BC6181BBE8500D60005 /* Images.xcassets */; }; + 77163AC72A10509A009BEE0E /* DiscussionsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77163AC62A10509A009BEE0E /* DiscussionsView.swift */; }; 772B4E6C2199811E0029706E /* Entity.m in Sources */ = {isa = PBXBuildFile; fileRef = 772B4E6B2199811E0029706E /* Entity.m */; }; 77317BAC181BBE8500D60005 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 77317BAB181BBE8500D60005 /* Foundation.framework */; }; 77317BAE181BBE8500D60005 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 77317BAD181BBE8500D60005 /* CoreGraphics.framework */; }; @@ -106,6 +113,13 @@ 770C86E225117D78009B6404 /* UIView+Shimmer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "UIView+Shimmer.h"; path = "Vendor/UIView-Shimmer/Classes/UIView+Shimmer.h"; sourceTree = ""; }; 770C86EE251211B6009B6404 /* JuickPush-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "JuickPush-Bridging-Header.h"; sourceTree = ""; }; 770C86EF251211B6009B6404 /* NotificationService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationService.swift; sourceTree = ""; }; + 77163AB12A104786009BEE0E /* JuickNext.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JuickNext.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 77163AB32A104786009BEE0E /* JuickApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JuickApp.swift; sourceTree = ""; }; + 77163AB52A104786009BEE0E /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 77163AB72A104787009BEE0E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 77163ABB2A104787009BEE0E /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 77163AC32A104AFC009BEE0E /* Today.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Today.swift; sourceTree = ""; }; + 77163AC62A10509A009BEE0E /* DiscussionsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DiscussionsView.swift; sourceTree = ""; }; 772B4E6A2199811E0029706E /* Entity.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Entity.h; sourceTree = ""; }; 772B4E6B2199811E0029706E /* Entity.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Entity.m; sourceTree = ""; }; 77317BA8181BBE8500D60005 /* Juick.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Juick.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -200,6 +214,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 77163AAE2A104786009BEE0E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 77317BA5181BBE8500D60005 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -232,9 +253,28 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 77163ABA2A104787009BEE0E /* Preview Content */ = { + isa = PBXGroup; + children = ( + 77163ABB2A104787009BEE0E /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 77163AC82A1051DE009BEE0E /* View */ = { + isa = PBXGroup; + children = ( + 77163AC32A104AFC009BEE0E /* Today.swift */, + 77163AC62A10509A009BEE0E /* DiscussionsView.swift */, + 77163AB52A104786009BEE0E /* ContentView.swift */, + ); + path = View; + sourceTree = ""; + }; 77317B9F181BBE8500D60005 = { isa = PBXGroup; children = ( + 779F82C52A146AC200D996D3 /* JuickNext */, 774746B1239F85920001C7F9 /* Vendor */, 7761135621790B0300D350CD /* JuickPush */, 77F2B6A0251249F300E42F6F /* JuickTests */, @@ -250,6 +290,7 @@ 77317BA8181BBE8500D60005 /* Juick.app */, 7761135521790B0200D350CD /* JuickPush.appex */, 77F2B69F251249F300E42F6F /* JuickTests.xctest */, + 77163AB12A104786009BEE0E /* JuickNext.app */, ); name = Products; sourceTree = ""; @@ -396,6 +437,17 @@ path = JuickPush; sourceTree = ""; }; + 779F82C52A146AC200D996D3 /* JuickNext */ = { + isa = PBXGroup; + children = ( + 77163AC82A1051DE009BEE0E /* View */, + 77163AB32A104786009BEE0E /* JuickApp.swift */, + 77163AB72A104787009BEE0E /* Assets.xcassets */, + 77163ABA2A104787009BEE0E /* Preview Content */, + ); + path = JuickNext; + sourceTree = ""; + }; 77F2B6A0251249F300E42F6F /* JuickTests */ = { isa = PBXGroup; children = ( @@ -427,6 +479,23 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 77163AB02A104786009BEE0E /* JuickNext */ = { + isa = PBXNativeTarget; + buildConfigurationList = 77163ABD2A104787009BEE0E /* Build configuration list for PBXNativeTarget "JuickNext" */; + buildPhases = ( + 77163AAD2A104786009BEE0E /* Sources */, + 77163AAE2A104786009BEE0E /* Frameworks */, + 77163AAF2A104786009BEE0E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = JuickNext; + productName = Juick; + productReference = 77163AB12A104786009BEE0E /* JuickNext.app */; + productType = "com.apple.product-type.application"; + }; 77317BA7181BBE8500D60005 /* Juick */ = { isa = PBXNativeTarget; buildConfigurationList = 77317BDD181BBE8500D60005 /* Build configuration list for PBXNativeTarget "Juick" */; @@ -487,10 +556,15 @@ 77317BA0181BBE8500D60005 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 1200; + LastSwiftUpdateCheck = 1430; LastUpgradeCheck = 1200; ORGANIZATIONNAME = com.juick; TargetAttributes = { + 77163AB02A104786009BEE0E = { + CreatedOnToolsVersion = 14.3; + DevelopmentTeam = KH4MX79ZK7; + ProvisioningStyle = Automatic; + }; 77317BA7181BBE8500D60005 = { DevelopmentTeam = KH4MX79ZK7; LastSwiftMigration = 1200; @@ -536,11 +610,22 @@ 77317BA7181BBE8500D60005 /* Juick */, 7761135421790B0200D350CD /* JuickPush */, 77F2B69E251249F300E42F6F /* JuickTests */, + 77163AB02A104786009BEE0E /* JuickNext */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 77163AAF2A104786009BEE0E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 77163AC52A104C67009BEE0E /* Images.xcassets in Resources */, + 77163ABC2A104787009BEE0E /* Preview Assets.xcassets in Resources */, + 77163AB82A104787009BEE0E /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 77317BA6181BBE8500D60005 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -580,6 +665,17 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 77163AAD2A104786009BEE0E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 77163AB62A104786009BEE0E /* ContentView.swift in Sources */, + 77163AC42A104AFC009BEE0E /* Today.swift in Sources */, + 77163AC72A10509A009BEE0E /* DiscussionsView.swift in Sources */, + 77163AB42A104786009BEE0E /* JuickApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 77317BA4181BBE8500D60005 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -663,6 +759,158 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 77163ABE2A104787009BEE0E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = Juick/Juick.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 175; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_ASSET_PATHS = "\"Juick/Preview Content\""; + DEVELOPMENT_TEAM = KH4MX79ZK7; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 12.4; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.juick.Juick; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 77163ABF2A104787009BEE0E /* Debug (local) */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = Juick/Juick.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 175; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_ASSET_PATHS = "\"Juick/Preview Content\""; + DEVELOPMENT_TEAM = KH4MX79ZK7; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 12.4; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.juick.Juick; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = "Debug (local)"; + }; + 77163AC02A104787009BEE0E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = Juick/Juick.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 175; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_ASSET_PATHS = "\"Juick/Preview Content\""; + DEVELOPMENT_TEAM = KH4MX79ZK7; + ENABLE_HARDENED_RUNTIME = YES; + ENABLE_PREVIEWS = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 15.6; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 12.4; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.juick.Juick; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; 77317BDB181BBE8500D60005 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 77D40ABB218B5CC90074E14F /* Production.xcconfig */; @@ -1091,6 +1339,16 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 77163ABD2A104787009BEE0E /* Build configuration list for PBXNativeTarget "JuickNext" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 77163ABE2A104787009BEE0E /* Debug */, + 77163ABF2A104787009BEE0E /* Debug (local) */, + 77163AC02A104787009BEE0E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 77317BA3181BBE8500D60005 /* Build configuration list for PBXProject "Juick" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Juick/Juick.entitlements b/Juick/Juick.entitlements index d8c59dc..5d9dec6 100644 --- a/Juick/Juick.entitlements +++ b/Juick/Juick.entitlements @@ -1,18 +1,22 @@ - - aps-environment - development - com.apple.developer.associated-domains - - webcredentials:juick.com - - com.apple.security.app-sandbox - - com.apple.security.network.client - - com.apple.security.personal-information.photos-library - - + + aps-environment + development + com.apple.developer.associated-domains + + webcredentials:juick.com + + com.apple.security.app-sandbox + + com.apple.security.network.client + + com.apple.security.personal-information.photos-library + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + diff --git a/JuickNext/Assets.xcassets/AccentColor.colorset/Contents.json b/JuickNext/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/JuickNext/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/JuickNext/Assets.xcassets/AppIcon.appiconset/Contents.json b/JuickNext/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..532cd72 --- /dev/null +++ b/JuickNext/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,63 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/JuickNext/Assets.xcassets/Contents.json b/JuickNext/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/JuickNext/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/JuickNext/JuickApp.swift b/JuickNext/JuickApp.swift new file mode 100644 index 0000000..190720b --- /dev/null +++ b/JuickNext/JuickApp.swift @@ -0,0 +1,18 @@ +// +// JuickApp.swift +// Juick +// +// Created by Vitaly Takmazov on 14.05.2023. +// Copyright © 2023 com.juick. All rights reserved. +// + +import SwiftUI + +@main +struct JuickApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/JuickNext/Preview Content/Preview Assets.xcassets/Contents.json b/JuickNext/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/JuickNext/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/JuickNext/View/ContentView.swift b/JuickNext/View/ContentView.swift new file mode 100644 index 0000000..03916fc --- /dev/null +++ b/JuickNext/View/ContentView.swift @@ -0,0 +1,32 @@ +// +// ContentView.swift +// Juick +// +// Created by Vitaly Takmazov on 14.05.2023. +// Copyright © 2023 com.juick. All rights reserved. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + TabView { + Today() + .tabItem { + Image("ei-clock") + } + Text("Discussions") + .tabItem { + Image("ei-bell") + } + } + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + NavigationView { + ContentView() + } + } +} diff --git a/JuickNext/View/DiscussionsView.swift b/JuickNext/View/DiscussionsView.swift new file mode 100644 index 0000000..b8f121b --- /dev/null +++ b/JuickNext/View/DiscussionsView.swift @@ -0,0 +1,21 @@ +// +// DiscussionsView.swift +// Juick +// +// Created by Vitaly Takmazov on 14.05.2023. +// Copyright © 2023 com.juick. All rights reserved. +// + +import SwiftUI + +struct DiscussionsView: View { + var body: some View { + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + } +} + +struct DiscussionsView_Previews: PreviewProvider { + static var previews: some View { + DiscussionsView() + } +} diff --git a/JuickNext/View/Today.swift b/JuickNext/View/Today.swift new file mode 100644 index 0000000..aa4a205 --- /dev/null +++ b/JuickNext/View/Today.swift @@ -0,0 +1,21 @@ +// +// TodayView.swift +// Juick +// +// Created by Vitaly Takmazov on 14.05.2023. +// Copyright © 2023 com.juick. All rights reserved. +// + +import SwiftUI + +struct Today: View { + var body: some View { + Text("Today") + } +} + +struct Today_Previews: PreviewProvider { + static var previews: some View { + Today() + } +} -- cgit v1.2.3