diff options
author | Vitaly Takmazov | 2023-05-16 15:48:28 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-05-17 04:59:08 +0300 |
commit | b3288eb9eac7d7776849271a4270c1eda9713e91 (patch) | |
tree | ff42fc871f4e054e8125cd38acb67217e3e7e98a | |
parent | 4a36162f8da0d0c709138868bc172e34f40dfbfd (diff) |
Add SwiftUI App
-rw-r--r-- | Juick.xcodeproj/project.pbxproj | 260 | ||||
-rw-r--r-- | Juick/Juick.entitlements | 32 | ||||
-rw-r--r-- | JuickNext/Assets.xcassets/AccentColor.colorset/Contents.json | 11 | ||||
-rw-r--r-- | JuickNext/Assets.xcassets/AppIcon.appiconset/Contents.json | 63 | ||||
-rw-r--r-- | JuickNext/Assets.xcassets/Contents.json | 6 | ||||
-rw-r--r-- | JuickNext/JuickApp.swift | 18 | ||||
-rw-r--r-- | JuickNext/Preview Content/Preview Assets.xcassets/Contents.json | 6 | ||||
-rw-r--r-- | JuickNext/View/ContentView.swift | 32 | ||||
-rw-r--r-- | JuickNext/View/DiscussionsView.swift | 21 | ||||
-rw-r--r-- | JuickNext/View/Today.swift | 21 |
10 files changed, 455 insertions, 15 deletions
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 = "<group>"; }; 770C86EE251211B6009B6404 /* JuickPush-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "JuickPush-Bridging-Header.h"; sourceTree = "<group>"; }; 770C86EF251211B6009B6404 /* NotificationService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationService.swift; sourceTree = "<group>"; }; + 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 = "<group>"; }; + 77163AB52A104786009BEE0E /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; }; + 77163AB72A104787009BEE0E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; }; + 77163ABB2A104787009BEE0E /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; }; + 77163AC32A104AFC009BEE0E /* Today.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Today.swift; sourceTree = "<group>"; }; + 77163AC62A10509A009BEE0E /* DiscussionsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DiscussionsView.swift; sourceTree = "<group>"; }; 772B4E6A2199811E0029706E /* Entity.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Entity.h; sourceTree = "<group>"; }; 772B4E6B2199811E0029706E /* Entity.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Entity.m; sourceTree = "<group>"; }; 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 = "<group>"; + }; + 77163AC82A1051DE009BEE0E /* View */ = { + isa = PBXGroup; + children = ( + 77163AC32A104AFC009BEE0E /* Today.swift */, + 77163AC62A10509A009BEE0E /* DiscussionsView.swift */, + 77163AB52A104786009BEE0E /* ContentView.swift */, + ); + path = View; + sourceTree = "<group>"; + }; 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 = "<group>"; @@ -396,6 +437,17 @@ path = JuickPush; sourceTree = "<group>"; }; + 779F82C52A146AC200D996D3 /* JuickNext */ = { + isa = PBXGroup; + children = ( + 77163AC82A1051DE009BEE0E /* View */, + 77163AB32A104786009BEE0E /* JuickApp.swift */, + 77163AB72A104787009BEE0E /* Assets.xcassets */, + 77163ABA2A104787009BEE0E /* Preview Content */, + ); + path = JuickNext; + sourceTree = "<group>"; + }; 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 @@ <?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>aps-environment</key> - <string>development</string> - <key>com.apple.developer.associated-domains</key> - <array> - <string>webcredentials:juick.com</string> - </array> - <key>com.apple.security.app-sandbox</key> - <true/> - <key>com.apple.security.network.client</key> - <true/> - <key>com.apple.security.personal-information.photos-library</key> - <true/> -</dict> + <dict> + <key>aps-environment</key> + <string>development</string> + <key>com.apple.developer.associated-domains</key> + <array> + <string>webcredentials:juick.com</string> + </array> + <key>com.apple.security.app-sandbox</key> + <true/> + <key>com.apple.security.network.client</key> + <true/> + <key>com.apple.security.personal-information.photos-library</key> + <true/> + <key>com.apple.security.app-sandbox</key> + <true/> + <key>com.apple.security.files.user-selected.read-only</key> + <true/> + </dict> </plist> 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() + } +} |