├── .gitignore ├── LICENSE ├── PlaygroundForApple.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ ├── WorkspaceSettings.xcsettings │ │ └── swiftpm │ │ │ └── Package.resolved │ └── xcuserdata │ │ ├── dlohani.xcuserdatad │ │ └── WorkspaceSettings.xcsettings │ │ └── jakebarnby.xcuserdatad │ │ └── UserInterfaceState.xcuserstate ├── xcshareddata │ └── xcschemes │ │ └── PlaygroundForApple.xcscheme └── xcuserdata │ ├── dlohani.xcuserdatad │ └── xcschemes │ │ └── xcschememanagement.plist │ └── jakebarnby.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── PlaygroundForApple ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json ├── ImagePicker.swift ├── PlaygroundApp.swift ├── PlaygroundView.swift ├── PlaygroundViewModel.swift └── Preview Content │ └── Preview Assets.xcassets │ └── Contents.json ├── README.md └── preview.png /.gitignore: -------------------------------------------------------------------------------- 1 | **.DS_Store 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2021, Appwrite 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | 3. Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 55; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | C10FB0AE270D72DD00BD9F9D /* Appwrite in Frameworks */ = {isa = PBXBuildFile; productRef = C10FB0AD270D72DD00BD9F9D /* Appwrite */; }; 11 | C13F48652700644D00301D6D /* PlaygroundApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C13F48642700644D00301D6D /* PlaygroundApp.swift */; }; 12 | C13F48672700644D00301D6D /* PlaygroundView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C13F48662700644D00301D6D /* PlaygroundView.swift */; }; 13 | C13F48692700644D00301D6D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C13F48682700644D00301D6D /* Assets.xcassets */; }; 14 | C13F486C2700644D00301D6D /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C13F486B2700644D00301D6D /* Preview Assets.xcassets */; }; 15 | C13F48922700652D00301D6D /* PlaygroundViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = C13F48912700652D00301D6D /* PlaygroundViewModel.swift */; }; 16 | C1E6B5E92700AD1800CE8E05 /* ImagePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1E6B5E82700AD1800CE8E05 /* ImagePicker.swift */; }; 17 | C1FB29342700755700E6240E /* NetworkExtension.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C1FB29332700755700E6240E /* NetworkExtension.framework */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXFileReference section */ 21 | C13F48612700644D00301D6D /* Playground For Apple.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Playground For Apple.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 22 | C13F48642700644D00301D6D /* PlaygroundApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaygroundApp.swift; sourceTree = ""; }; 23 | C13F48662700644D00301D6D /* PlaygroundView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaygroundView.swift; sourceTree = ""; }; 24 | C13F48682700644D00301D6D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 25 | C13F486B2700644D00301D6D /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; 26 | C13F48912700652D00301D6D /* PlaygroundViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlaygroundViewModel.swift; sourceTree = ""; }; 27 | C1E6B5E82700AD1800CE8E05 /* ImagePicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImagePicker.swift; sourceTree = ""; }; 28 | C1FB29332700755700E6240E /* NetworkExtension.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = NetworkExtension.framework; path = System/Library/Frameworks/NetworkExtension.framework; sourceTree = SDKROOT; }; 29 | /* End PBXFileReference section */ 30 | 31 | /* Begin PBXFrameworksBuildPhase section */ 32 | C13F485E2700644D00301D6D /* Frameworks */ = { 33 | isa = PBXFrameworksBuildPhase; 34 | buildActionMask = 2147483647; 35 | files = ( 36 | C10FB0AE270D72DD00BD9F9D /* Appwrite in Frameworks */, 37 | C1FB29342700755700E6240E /* NetworkExtension.framework in Frameworks */, 38 | ); 39 | runOnlyForDeploymentPostprocessing = 0; 40 | }; 41 | /* End PBXFrameworksBuildPhase section */ 42 | 43 | /* Begin PBXGroup section */ 44 | C13F48582700644D00301D6D = { 45 | isa = PBXGroup; 46 | children = ( 47 | C13F48632700644D00301D6D /* PlaygroundForApple */, 48 | C13F48622700644D00301D6D /* Products */, 49 | C1FB29322700755700E6240E /* Frameworks */, 50 | ); 51 | sourceTree = ""; 52 | }; 53 | C13F48622700644D00301D6D /* Products */ = { 54 | isa = PBXGroup; 55 | children = ( 56 | C13F48612700644D00301D6D /* Playground For Apple.app */, 57 | ); 58 | name = Products; 59 | sourceTree = ""; 60 | }; 61 | C13F48632700644D00301D6D /* PlaygroundForApple */ = { 62 | isa = PBXGroup; 63 | children = ( 64 | C13F48642700644D00301D6D /* PlaygroundApp.swift */, 65 | C13F48662700644D00301D6D /* PlaygroundView.swift */, 66 | C13F48682700644D00301D6D /* Assets.xcassets */, 67 | C13F486A2700644D00301D6D /* Preview Content */, 68 | C13F48912700652D00301D6D /* PlaygroundViewModel.swift */, 69 | C1E6B5E82700AD1800CE8E05 /* ImagePicker.swift */, 70 | ); 71 | path = PlaygroundForApple; 72 | sourceTree = ""; 73 | }; 74 | C13F486A2700644D00301D6D /* Preview Content */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | C13F486B2700644D00301D6D /* Preview Assets.xcassets */, 78 | ); 79 | path = "Preview Content"; 80 | sourceTree = ""; 81 | }; 82 | C1FB29322700755700E6240E /* Frameworks */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | C1FB29332700755700E6240E /* NetworkExtension.framework */, 86 | ); 87 | name = Frameworks; 88 | sourceTree = ""; 89 | }; 90 | /* End PBXGroup section */ 91 | 92 | /* Begin PBXNativeTarget section */ 93 | C13F48602700644D00301D6D /* PlaygroundForApple */ = { 94 | isa = PBXNativeTarget; 95 | buildConfigurationList = C13F48852700644E00301D6D /* Build configuration list for PBXNativeTarget "PlaygroundForApple" */; 96 | buildPhases = ( 97 | C13F485D2700644D00301D6D /* Sources */, 98 | C13F485E2700644D00301D6D /* Frameworks */, 99 | C13F485F2700644D00301D6D /* Resources */, 100 | ); 101 | buildRules = ( 102 | ); 103 | dependencies = ( 104 | ); 105 | name = PlaygroundForApple; 106 | packageProductDependencies = ( 107 | C10FB0AD270D72DD00BD9F9D /* Appwrite */, 108 | ); 109 | productName = "playground-for-apple"; 110 | productReference = C13F48612700644D00301D6D /* Playground For Apple.app */; 111 | productType = "com.apple.product-type.application"; 112 | }; 113 | /* End PBXNativeTarget section */ 114 | 115 | /* Begin PBXProject section */ 116 | C13F48592700644D00301D6D /* Project object */ = { 117 | isa = PBXProject; 118 | attributes = { 119 | BuildIndependentTargetsInParallel = 1; 120 | LastSwiftUpdateCheck = 1300; 121 | LastUpgradeCheck = 1300; 122 | TargetAttributes = { 123 | C13F48602700644D00301D6D = { 124 | CreatedOnToolsVersion = 13.0; 125 | }; 126 | }; 127 | }; 128 | buildConfigurationList = C13F485C2700644D00301D6D /* Build configuration list for PBXProject "PlaygroundForApple" */; 129 | compatibilityVersion = "Xcode 13.0"; 130 | developmentRegion = en; 131 | hasScannedForEncodings = 0; 132 | knownRegions = ( 133 | en, 134 | Base, 135 | ); 136 | mainGroup = C13F48582700644D00301D6D; 137 | packageReferences = ( 138 | C10FB0AC270D72DD00BD9F9D /* XCRemoteSwiftPackageReference "sdk-for-apple" */, 139 | ); 140 | productRefGroup = C13F48622700644D00301D6D /* Products */; 141 | projectDirPath = ""; 142 | projectRoot = ""; 143 | targets = ( 144 | C13F48602700644D00301D6D /* PlaygroundForApple */, 145 | ); 146 | }; 147 | /* End PBXProject section */ 148 | 149 | /* Begin PBXResourcesBuildPhase section */ 150 | C13F485F2700644D00301D6D /* Resources */ = { 151 | isa = PBXResourcesBuildPhase; 152 | buildActionMask = 2147483647; 153 | files = ( 154 | C13F486C2700644D00301D6D /* Preview Assets.xcassets in Resources */, 155 | C13F48692700644D00301D6D /* Assets.xcassets in Resources */, 156 | ); 157 | runOnlyForDeploymentPostprocessing = 0; 158 | }; 159 | /* End PBXResourcesBuildPhase section */ 160 | 161 | /* Begin PBXSourcesBuildPhase section */ 162 | C13F485D2700644D00301D6D /* Sources */ = { 163 | isa = PBXSourcesBuildPhase; 164 | buildActionMask = 2147483647; 165 | files = ( 166 | C13F48672700644D00301D6D /* PlaygroundView.swift in Sources */, 167 | C1E6B5E92700AD1800CE8E05 /* ImagePicker.swift in Sources */, 168 | C13F48922700652D00301D6D /* PlaygroundViewModel.swift in Sources */, 169 | C13F48652700644D00301D6D /* PlaygroundApp.swift in Sources */, 170 | ); 171 | runOnlyForDeploymentPostprocessing = 0; 172 | }; 173 | /* End PBXSourcesBuildPhase section */ 174 | 175 | /* Begin XCBuildConfiguration section */ 176 | C13F48832700644E00301D6D /* Debug */ = { 177 | isa = XCBuildConfiguration; 178 | buildSettings = { 179 | ALWAYS_SEARCH_USER_PATHS = NO; 180 | CLANG_ANALYZER_NONNULL = YES; 181 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 182 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; 183 | CLANG_CXX_LIBRARY = "libc++"; 184 | CLANG_ENABLE_MODULES = YES; 185 | CLANG_ENABLE_OBJC_ARC = YES; 186 | CLANG_ENABLE_OBJC_WEAK = YES; 187 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 188 | CLANG_WARN_BOOL_CONVERSION = YES; 189 | CLANG_WARN_COMMA = YES; 190 | CLANG_WARN_CONSTANT_CONVERSION = YES; 191 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 192 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 193 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 194 | CLANG_WARN_EMPTY_BODY = YES; 195 | CLANG_WARN_ENUM_CONVERSION = YES; 196 | CLANG_WARN_INFINITE_RECURSION = YES; 197 | CLANG_WARN_INT_CONVERSION = YES; 198 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 199 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 200 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 201 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 202 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 203 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 204 | CLANG_WARN_STRICT_PROTOTYPES = YES; 205 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 206 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 207 | CLANG_WARN_UNREACHABLE_CODE = YES; 208 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 209 | COPY_PHASE_STRIP = NO; 210 | DEBUG_INFORMATION_FORMAT = dwarf; 211 | ENABLE_STRICT_OBJC_MSGSEND = YES; 212 | ENABLE_TESTABILITY = YES; 213 | GCC_C_LANGUAGE_STANDARD = gnu11; 214 | GCC_DYNAMIC_NO_PIC = NO; 215 | GCC_NO_COMMON_BLOCKS = YES; 216 | GCC_OPTIMIZATION_LEVEL = 0; 217 | GCC_PREPROCESSOR_DEFINITIONS = ( 218 | "DEBUG=1", 219 | "$(inherited)", 220 | ); 221 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 222 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 223 | GCC_WARN_UNDECLARED_SELECTOR = YES; 224 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 225 | GCC_WARN_UNUSED_FUNCTION = YES; 226 | GCC_WARN_UNUSED_VARIABLE = YES; 227 | IPHONEOS_DEPLOYMENT_TARGET = 15.0; 228 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 229 | MTL_FAST_MATH = YES; 230 | ONLY_ACTIVE_ARCH = YES; 231 | SDKROOT = iphoneos; 232 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 233 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 234 | }; 235 | name = Debug; 236 | }; 237 | C13F48842700644E00301D6D /* Release */ = { 238 | isa = XCBuildConfiguration; 239 | buildSettings = { 240 | ALWAYS_SEARCH_USER_PATHS = NO; 241 | CLANG_ANALYZER_NONNULL = YES; 242 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 243 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; 244 | CLANG_CXX_LIBRARY = "libc++"; 245 | CLANG_ENABLE_MODULES = YES; 246 | CLANG_ENABLE_OBJC_ARC = YES; 247 | CLANG_ENABLE_OBJC_WEAK = YES; 248 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 249 | CLANG_WARN_BOOL_CONVERSION = YES; 250 | CLANG_WARN_COMMA = YES; 251 | CLANG_WARN_CONSTANT_CONVERSION = YES; 252 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 253 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 254 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 255 | CLANG_WARN_EMPTY_BODY = YES; 256 | CLANG_WARN_ENUM_CONVERSION = YES; 257 | CLANG_WARN_INFINITE_RECURSION = YES; 258 | CLANG_WARN_INT_CONVERSION = YES; 259 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 260 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 261 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 262 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 263 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 264 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 265 | CLANG_WARN_STRICT_PROTOTYPES = YES; 266 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 267 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 268 | CLANG_WARN_UNREACHABLE_CODE = YES; 269 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 270 | COPY_PHASE_STRIP = NO; 271 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 272 | ENABLE_NS_ASSERTIONS = NO; 273 | ENABLE_STRICT_OBJC_MSGSEND = YES; 274 | GCC_C_LANGUAGE_STANDARD = gnu11; 275 | GCC_NO_COMMON_BLOCKS = YES; 276 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 277 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 278 | GCC_WARN_UNDECLARED_SELECTOR = YES; 279 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 280 | GCC_WARN_UNUSED_FUNCTION = YES; 281 | GCC_WARN_UNUSED_VARIABLE = YES; 282 | IPHONEOS_DEPLOYMENT_TARGET = 15.0; 283 | MTL_ENABLE_DEBUG_INFO = NO; 284 | MTL_FAST_MATH = YES; 285 | SDKROOT = iphoneos; 286 | SWIFT_COMPILATION_MODE = wholemodule; 287 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 288 | VALIDATE_PRODUCT = YES; 289 | }; 290 | name = Release; 291 | }; 292 | C13F48862700644E00301D6D /* Debug */ = { 293 | isa = XCBuildConfiguration; 294 | buildSettings = { 295 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 296 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 297 | CODE_SIGN_STYLE = Automatic; 298 | CURRENT_PROJECT_VERSION = 1; 299 | DEVELOPMENT_ASSET_PATHS = "\"PlaygroundForApple/Preview Content\""; 300 | DEVELOPMENT_TEAM = L834TJ3ANM; 301 | ENABLE_PREVIEWS = YES; 302 | GENERATE_INFOPLIST_FILE = YES; 303 | INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; 304 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; 305 | INFOPLIST_KEY_UILaunchScreen_Generation = YES; 306 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; 307 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; 308 | IPHONEOS_DEPLOYMENT_TARGET = 15.0; 309 | LD_RUNPATH_SEARCH_PATHS = ( 310 | "$(inherited)", 311 | "@executable_path/Frameworks", 312 | ); 313 | MARKETING_VERSION = 1.0; 314 | PRODUCT_BUNDLE_IDENTIFIER = io.appwrite.playgroundforswiftui; 315 | PRODUCT_NAME = "Playground For Apple"; 316 | SWIFT_EMIT_LOC_STRINGS = YES; 317 | SWIFT_VERSION = 5.0; 318 | TARGETED_DEVICE_FAMILY = "1,2"; 319 | }; 320 | name = Debug; 321 | }; 322 | C13F48872700644E00301D6D /* Release */ = { 323 | isa = XCBuildConfiguration; 324 | buildSettings = { 325 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 326 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 327 | CODE_SIGN_STYLE = Automatic; 328 | CURRENT_PROJECT_VERSION = 1; 329 | DEVELOPMENT_ASSET_PATHS = "\"PlaygroundForApple/Preview Content\""; 330 | DEVELOPMENT_TEAM = L834TJ3ANM; 331 | ENABLE_PREVIEWS = YES; 332 | GENERATE_INFOPLIST_FILE = YES; 333 | INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; 334 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; 335 | INFOPLIST_KEY_UILaunchScreen_Generation = YES; 336 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; 337 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; 338 | IPHONEOS_DEPLOYMENT_TARGET = 15.0; 339 | LD_RUNPATH_SEARCH_PATHS = ( 340 | "$(inherited)", 341 | "@executable_path/Frameworks", 342 | ); 343 | MARKETING_VERSION = 1.0; 344 | PRODUCT_BUNDLE_IDENTIFIER = io.appwrite.playgroundforswiftui; 345 | PRODUCT_NAME = "Playground For Apple"; 346 | SWIFT_EMIT_LOC_STRINGS = YES; 347 | SWIFT_VERSION = 5.0; 348 | TARGETED_DEVICE_FAMILY = "1,2"; 349 | }; 350 | name = Release; 351 | }; 352 | /* End XCBuildConfiguration section */ 353 | 354 | /* Begin XCConfigurationList section */ 355 | C13F485C2700644D00301D6D /* Build configuration list for PBXProject "PlaygroundForApple" */ = { 356 | isa = XCConfigurationList; 357 | buildConfigurations = ( 358 | C13F48832700644E00301D6D /* Debug */, 359 | C13F48842700644E00301D6D /* Release */, 360 | ); 361 | defaultConfigurationIsVisible = 0; 362 | defaultConfigurationName = Release; 363 | }; 364 | C13F48852700644E00301D6D /* Build configuration list for PBXNativeTarget "PlaygroundForApple" */ = { 365 | isa = XCConfigurationList; 366 | buildConfigurations = ( 367 | C13F48862700644E00301D6D /* Debug */, 368 | C13F48872700644E00301D6D /* Release */, 369 | ); 370 | defaultConfigurationIsVisible = 0; 371 | defaultConfigurationName = Release; 372 | }; 373 | /* End XCConfigurationList section */ 374 | 375 | /* Begin XCRemoteSwiftPackageReference section */ 376 | C10FB0AC270D72DD00BD9F9D /* XCRemoteSwiftPackageReference "sdk-for-apple" */ = { 377 | isa = XCRemoteSwiftPackageReference; 378 | repositoryURL = "https://github.com/appwrite/sdk-for-apple"; 379 | requirement = { 380 | kind = exactVersion; 381 | version = 1.0.0; 382 | }; 383 | }; 384 | /* End XCRemoteSwiftPackageReference section */ 385 | 386 | /* Begin XCSwiftPackageProductDependency section */ 387 | C10FB0AD270D72DD00BD9F9D /* Appwrite */ = { 388 | isa = XCSwiftPackageProductDependency; 389 | package = C10FB0AC270D72DD00BD9F9D /* XCRemoteSwiftPackageReference "sdk-for-apple" */; 390 | productName = Appwrite; 391 | }; 392 | /* End XCSwiftPackageProductDependency section */ 393 | }; 394 | rootObject = C13F48592700644D00301D6D /* Project object */; 395 | } 396 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- 1 | { 2 | "pins" : [ 3 | { 4 | "identity" : "async-http-client", 5 | "kind" : "remoteSourceControl", 6 | "location" : "https://github.com/swift-server/async-http-client.git", 7 | "state" : { 8 | "revision" : "7a4dfe026f6ee0f8ad741b58df74c60af296365d", 9 | "version" : "1.9.0" 10 | } 11 | }, 12 | { 13 | "identity" : "sdk-for-apple", 14 | "kind" : "remoteSourceControl", 15 | "location" : "https://github.com/appwrite/sdk-for-apple", 16 | "state" : { 17 | "revision" : "4854ed68731f4b5b328a6793b8ca47fc7b454e44", 18 | "version" : "1.0.0" 19 | } 20 | }, 21 | { 22 | "identity" : "swift-log", 23 | "kind" : "remoteSourceControl", 24 | "location" : "https://github.com/apple/swift-log.git", 25 | "state" : { 26 | "revision" : "5d66f7ba25daf4f94100e7022febf3c75e37a6c7", 27 | "version" : "1.4.2" 28 | } 29 | }, 30 | { 31 | "identity" : "swift-nio", 32 | "kind" : "remoteSourceControl", 33 | "location" : "https://github.com/apple/swift-nio.git", 34 | "state" : { 35 | "revision" : "154f1d32366449dcccf6375a173adf4ed2a74429", 36 | "version" : "2.38.0" 37 | } 38 | }, 39 | { 40 | "identity" : "swift-nio-extras", 41 | "kind" : "remoteSourceControl", 42 | "location" : "https://github.com/apple/swift-nio-extras.git", 43 | "state" : { 44 | "revision" : "f73ca5ee9c6806800243f1ac415fcf82de9a4c91", 45 | "version" : "1.10.2" 46 | } 47 | }, 48 | { 49 | "identity" : "swift-nio-http2", 50 | "kind" : "remoteSourceControl", 51 | "location" : "https://github.com/apple/swift-nio-http2.git", 52 | "state" : { 53 | "revision" : "000ca94f9de92c95b9ac85d44600b7b0fe25a3e5", 54 | "version" : "1.19.2" 55 | } 56 | }, 57 | { 58 | "identity" : "swift-nio-ssl", 59 | "kind" : "remoteSourceControl", 60 | "location" : "https://github.com/apple/swift-nio-ssl.git", 61 | "state" : { 62 | "revision" : "52a486ff6de9bc3e26bf634c5413c41c5fa89ca5", 63 | "version" : "2.17.2" 64 | } 65 | }, 66 | { 67 | "identity" : "swift-nio-transport-services", 68 | "kind" : "remoteSourceControl", 69 | "location" : "https://github.com/apple/swift-nio-transport-services.git", 70 | "state" : { 71 | "revision" : "8ab824b140d0ebcd87e9149266ddc353e3705a3e", 72 | "version" : "1.11.4" 73 | } 74 | } 75 | ], 76 | "version" : 2 77 | } 78 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/project.xcworkspace/xcuserdata/dlohani.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseAppPreferences 7 | CustomBuildLocationType 8 | RelativeToDerivedData 9 | DerivedDataLocationStyle 10 | Default 11 | IssueFilterStyle 12 | ShowActiveSchemeOnly 13 | LiveSourceIssuesEnabled 14 | 15 | ShowSharedSchemesAutomaticallyEnabled 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/project.xcworkspace/xcuserdata/jakebarnby.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appwrite/playground-for-apple-swiftui/50c601345421346dfd6fe330e201537a929cc96e/PlaygroundForApple.xcodeproj/project.xcworkspace/xcuserdata/jakebarnby.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/xcshareddata/xcschemes/PlaygroundForApple.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 45 | 51 | 52 | 53 | 54 | 60 | 62 | 68 | 69 | 70 | 71 | 73 | 74 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/xcuserdata/dlohani.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | playground-for-apple.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /PlaygroundForApple.xcodeproj/xcuserdata/jakebarnby.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | PlaygroundForApple.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | PlaygroundForAppleTests.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 1 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | C13F48602700644D00301D6D 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /PlaygroundForApple/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /PlaygroundForApple/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /PlaygroundForApple/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /PlaygroundForApple/ImagePicker.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ImagePicker.swift 3 | // playground-for-apple 4 | // 5 | // Created by Damodar Lohani on 26/09/2021. 6 | // 7 | 8 | import SwiftUI 9 | 10 | struct ImagePicker: UIViewControllerRepresentable { 11 | 12 | @Environment(\.presentationMode) 13 | private var presentationMode 14 | 15 | var sourceType: UIImagePickerController.SourceType = .photoLibrary 16 | 17 | @Binding var selectedImage: UIImage 18 | 19 | func makeUIViewController(context: UIViewControllerRepresentableContext) -> UIImagePickerController { 20 | let imagePicker = UIImagePickerController() 21 | imagePicker.allowsEditing = false 22 | imagePicker.sourceType = sourceType 23 | imagePicker.delegate = context.coordinator 24 | 25 | return imagePicker 26 | } 27 | 28 | func updateUIViewController(_ uiViewController: UIImagePickerController, context: UIViewControllerRepresentableContext) { 29 | 30 | } 31 | 32 | func makeCoordinator() -> Coordinator { 33 | Coordinator(self) 34 | } 35 | 36 | final class Coordinator: NSObject, UIImagePickerControllerDelegate, UINavigationControllerDelegate { 37 | var parent: ImagePicker 38 | 39 | init(_ parent: ImagePicker) { 40 | self.parent = parent 41 | } 42 | 43 | func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) { 44 | 45 | if let image = info[UIImagePickerController.InfoKey.originalImage] as? UIImage { 46 | parent.selectedImage = image 47 | } 48 | 49 | parent.presentationMode.wrappedValue.dismiss() 50 | } 51 | 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /PlaygroundForApple/PlaygroundApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // playground_for_appleApp.swift 3 | // playground-for-apple 4 | // 5 | // Created by Damodar Lohani on 26/09/2021. 6 | // 7 | 8 | import SwiftUI 9 | 10 | @main 11 | struct PlaygroundApp: App { 12 | var body: some Scene { 13 | WindowGroup { 14 | PlaygroundView(viewModel: PlaygroundViewModel()) 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /PlaygroundForApple/PlaygroundView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ContentView.swift 3 | // playground-for-apple 4 | // 5 | // Created by Damodar Lohani on 26/09/2021. 6 | // 7 | 8 | import SwiftUI 9 | import Appwrite 10 | 11 | struct PlaygroundView: View { 12 | @ObservedObject var viewModel: PlaygroundViewModel 13 | 14 | @State private var isShowPhotoLibrary = false 15 | @State private var imageToUpload = UIImage() 16 | 17 | var body: some View { 18 | NavigationView { 19 | ScrollView { 20 | VStack { 21 | Group { 22 | Button("Create Account") { 23 | Task { 24 | try await viewModel.createAccount() 25 | } 26 | } 27 | .padding() 28 | .frame(width: 250) 29 | .background(.yellow) 30 | 31 | Button("Create Session") { 32 | Task { 33 | try await viewModel.createSession() 34 | } 35 | } 36 | .padding() 37 | .frame(width: 250) 38 | .background(.pink) 39 | 40 | Button("Create Anonymous Session") { 41 | Task { 42 | try await viewModel.createAnonymousSession() 43 | } 44 | } 45 | .padding() 46 | .frame(width: 250) 47 | .background(.green) 48 | 49 | Button("List Sessions") { 50 | Task { 51 | try await viewModel.listSessions() 52 | } 53 | } 54 | .padding() 55 | .frame(width: 250) 56 | .background(.gray) 57 | 58 | Button("Delete Current Session") { 59 | Task { 60 | try await viewModel.deleteSession() 61 | } 62 | } 63 | .padding() 64 | .frame(width: 250) 65 | .background(.orange) 66 | 67 | Button("Delete All Sessions") { 68 | Task { 69 | try await viewModel.deleteSessions() 70 | } 71 | } 72 | .padding() 73 | .frame(width: 250) 74 | .background(.cyan) 75 | 76 | Button("Generate JWT") { 77 | Task { 78 | try await viewModel.generateJWT() 79 | } 80 | } 81 | .padding() 82 | .frame(width: 250) 83 | .background(.blue) 84 | } 85 | 86 | Group { 87 | Button("Login With Facebook") { 88 | Task { 89 | try await viewModel.socialLogin(provider: "facebook") 90 | } 91 | } 92 | .padding() 93 | .frame(width: 250) 94 | .background(.gray) 95 | 96 | Button("Login with GitHub") { 97 | Task { 98 | try await viewModel.socialLogin(provider: "github") 99 | } 100 | } 101 | .padding() 102 | .frame(width: 250) 103 | .background(.blue) 104 | 105 | Button("Login with Google") { 106 | Task { 107 | try await viewModel.socialLogin(provider: "apple") 108 | } 109 | } 110 | .padding() 111 | .frame(width: 250) 112 | .background(.red) 113 | } 114 | 115 | Group { 116 | Button("Create Doc") { 117 | Task { 118 | try await viewModel.createDoc() 119 | } 120 | } 121 | .padding() 122 | .frame(width: 250) 123 | .background(.blue) 124 | 125 | Button("List Docs") { 126 | Task { 127 | try await viewModel.listDocs() 128 | } 129 | } 130 | .padding() 131 | .frame(width: 250) 132 | .background(.green) 133 | 134 | Button("Delete Doc") { 135 | Task { 136 | try await viewModel.deleteDoc() 137 | } 138 | } 139 | .padding() 140 | .frame(width: 250) 141 | .background(.pink) 142 | } 143 | 144 | Group { 145 | Button("Upload File") { 146 | self.isShowPhotoLibrary = true 147 | } 148 | .padding() 149 | .frame(width: 250) 150 | .background(.orange) 151 | 152 | Button("List Files") { 153 | Task { 154 | try await viewModel.listFiles() 155 | } 156 | } 157 | .padding() 158 | .frame(width: 250) 159 | .background(.mint) 160 | 161 | Button("Delete File") { 162 | Task { 163 | try await viewModel.deleteFile() 164 | } 165 | } 166 | .padding() 167 | .frame(width: 250) 168 | .background(.indigo) 169 | 170 | } 171 | 172 | Group { 173 | Button("Create Execution") { 174 | Task { 175 | try await viewModel.createExecution() 176 | } 177 | } 178 | .padding() 179 | .frame(width: 250) 180 | .background(.blue) 181 | 182 | Button("List Executions") { 183 | Task { 184 | try await viewModel.listExecutions() 185 | } 186 | } 187 | .padding() 188 | .frame(width: 250) 189 | .background(.green) 190 | 191 | Button("Get Execution") { 192 | Task { 193 | try await viewModel.getExecution() 194 | } 195 | } 196 | .padding() 197 | .frame(width: 250) 198 | .background(.pink) 199 | } 200 | 201 | Group { 202 | Button("Subscribe") { 203 | viewModel.subscribe() 204 | } 205 | .padding() 206 | .frame(width: 250) 207 | .background(.teal) 208 | } 209 | 210 | viewModel.downloadedImage? 211 | .resizable() 212 | .aspectRatio(contentMode: .fit) 213 | .frame(height: 200) 214 | 215 | Text(viewModel.message) 216 | .foregroundColor(.pink) 217 | 218 | Button("Logout") { 219 | Task { 220 | try await viewModel.deleteSession() 221 | } 222 | } 223 | .padding() 224 | .frame(width: 250) 225 | .background(Color.red) 226 | 227 | } 228 | .foregroundColor(.white) 229 | .alert(isPresented: $viewModel.isShowingDialog) { 230 | Alert( 231 | title: Text("Alert"), 232 | message: Text(viewModel.dialogText), 233 | dismissButton: .cancel { 234 | viewModel.isShowingDialog = false 235 | } 236 | ) 237 | } 238 | .sheet(isPresented: $isShowPhotoLibrary) { 239 | ImagePicker(sourceType: .photoLibrary, selectedImage: self.$imageToUpload) 240 | 241 | } 242 | .onChange(of: imageToUpload) { img in 243 | Task { 244 | try await viewModel.uploadFile(image: img) 245 | } 246 | } 247 | }.navigationTitle("Appwrite + iOS = ♥️") 248 | } 249 | 250 | } 251 | } 252 | 253 | struct ContentView_Previews: PreviewProvider { 254 | static var previews: some View { 255 | PlaygroundView(viewModel: PlaygroundViewModel()) 256 | } 257 | } 258 | -------------------------------------------------------------------------------- /PlaygroundForApple/PlaygroundViewModel.swift: -------------------------------------------------------------------------------- 1 | // 2 | // PlaygroundViewModel.swift 3 | // PlaygroundForApple 4 | // 5 | // Created by Damodar Lohani on 26/09/2021. 6 | // 7 | 8 | import SwiftUI 9 | import Appwrite 10 | import NIO 11 | 12 | class PlaygroundViewModel: ObservableObject { 13 | 14 | let client = Client() 15 | .setEndpoint("YOUR_ENDPOINT") 16 | .setProject("YOUR_PROJECT_ID") 17 | .setSelfSigned() 18 | 19 | let account: Account 20 | let storage: Storage 21 | let database: Databases 22 | let functions: Functions 23 | let realtime: Realtime 24 | 25 | var databaseId = "YOUR_DATABASE_ID" 26 | var collectionId = "YOUR_COLLECTION_ID" 27 | var bucketId = "YOUR_BUCKET_ID" 28 | var functionId = "YOUR_FUNCTION_ID" 29 | var executionId = "" 30 | var userId = "" 31 | var userEmail = "" 32 | var documentId = "" 33 | var fileId = "" 34 | 35 | @Published var error: String = "" 36 | @Published var userName: String = "No Session" 37 | @Published var message: String = "" 38 | @Published var downloadedImage: Image? = nil 39 | @Published var isShowingDialog = false 40 | @Published var dialogText: String = "" 41 | 42 | init() { 43 | account = Account(client) 44 | storage = Storage(client) 45 | functions = Functions(client) 46 | database = Databases(client) 47 | realtime = Realtime(client) 48 | 49 | Task { try! await getAccount() } 50 | } 51 | 52 | func createAccount() async throws { 53 | userEmail = "\(Int.random(in: 1.. 8 | 9 | ## Get Started 10 | 11 | The **playground-for-apple** folder in this repository contains **all** the playground examples and source code. 12 | 13 | You can learn how to to integrate your Appwrite Apple SDK in your project and see how different features of the SDK can be used. 14 | 15 | This playground doesn't include any Appwrite best practices but rather intended to show the most simple examples and use cases of using the Appwrite API in your app. 16 | 17 | ## Contributing 18 | 19 | All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code. 20 | 21 | We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the [contribution guide](https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md). 22 | 23 | ## Security 24 | 25 | For security issues, kindly email us [security@appwrite.io](mailto:security@appwrite.io) instead of posting a public issue in GitHub. 26 | 27 | ## Follow Us 28 | 29 | Join our growing community around the world! Follow us on [Twitter](https://twitter.com/appwrite), [Facebook Page](https://www.facebook.com/appwrite.io), [Facebook Group](https://www.facebook.com/groups/appwrite.developers/) or join our [Discord Server](https://appwrite.io/discord) for more help, ideas and discussions. 30 | -------------------------------------------------------------------------------- /preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/appwrite/playground-for-apple-swiftui/50c601345421346dfd6fe330e201537a929cc96e/preview.png --------------------------------------------------------------------------------