├── .gitignore ├── List.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcuserdata │ └── olimdzonsadykov.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist └── List ├── Assets.xcassets ├── AccentColor.colorset │ └── Contents.json ├── AppIcon.appiconset │ └── Contents.json └── Contents.json ├── ContentView.swift ├── ListApp.swift ├── ListItem.swift └── Preview Content └── Preview Assets.xcassets └── Contents.json /.gitignore: -------------------------------------------------------------------------------- 1 | Skip to content 2 | Search or jump to… 3 | Pull requests 4 | Issues 5 | Codespaces 6 | Marketplace 7 | Explore 8 | 9 | @olimdzhon 10 | olimdzhon 11 | / 12 | pagination 13 | Public 14 | Cannot fork because you own this repository and are not a member of any organizations. 15 | Code 16 | Issues 17 | Pull requests 18 | Actions 19 | Projects 20 | Wiki 21 | Security 22 | Insights 23 | Settings 24 | Beta Try the new code view 25 | pagination/.gitignore 26 | @olimdzhon 27 | olimdzhon minor fix; 28 | Latest commit 5b0e233 on Mar 3 29 | History 30 | 1 contributor 31 | 242 lines (200 sloc) 6.7 KB 32 | 33 | 34 | ######################### 35 | # .gitignore file for Xcode4 and Xcode5 Source projects 36 | # 37 | # Apple bugs, waiting for Apple to fix/respond: 38 | # 39 | # 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation? 40 | # 41 | # Version 2.6 42 | # For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects 43 | # 44 | # 2015 updates: 45 | # - Fixed typo in "xccheckout" line - thanks to @lyck for pointing it out! 46 | # - Fixed the .idea optional ignore. Thanks to @hashier for pointing this out 47 | # - Finally added "xccheckout" to the ignore. Apple still refuses to answer support requests about this, but in practice it seems you should ignore it. 48 | # - minor tweaks from Jona and Coeur (slightly more precise xc* filtering/names) 49 | # 2014 updates: 50 | # - appended non-standard items DISABLED by default (uncomment if you use those tools) 51 | # - removed the edit that an SO.com moderator made without bothering to ask me 52 | # - researched CocoaPods .lock more carefully, thanks to Gokhan Celiker 53 | # 2013 updates: 54 | # - fixed the broken "save personal Schemes" 55 | # - added line-by-line explanations for EVERYTHING (some were missing) 56 | # 57 | # NB: if you are storing "built" products, this WILL NOT WORK, 58 | # and you should use a different .gitignore (or none at all) 59 | # This file is for SOURCE projects, where there are many extra 60 | # files that we want to exclude 61 | # 62 | ######################### 63 | # Created by http://www.gitignore.io 64 | 65 | ##### 66 | # OS X temporary files that should never be committed 67 | # 68 | # c.f. http://www.westwind.com/reference/os-x/invisibles.html 69 | ### Xcode ### 70 | build 71 | *.xcodeproj/* 72 | !*.xcodeproj/project.pbxproj 73 | !*.xcworkspace/contents.xcworkspacedata 74 | 75 | 76 | ### Objective-C ### 77 | # OS X 78 | .DS_Store 79 | 80 | # c.f. http://www.westwind.com/reference/os-x/invisibles.html 81 | 82 | .Trashes 83 | 84 | # c.f. http://www.westwind.com/reference/os-x/invisibles.html 85 | 86 | *.swp 87 | 88 | # 89 | # *.lock - this is used and abused by many editors for many different things. 90 | # For the main ones I use (e.g. Eclipse), it should be excluded 91 | # from source-control, but YMMV. 92 | # (lock files are usually local-only file-synchronization on the local FS that should NOT go in git) 93 | # c.f. the "OPTIONAL" section at bottom though, for tool-specific variations! 94 | # 95 | # In particular, if you're using CocoaPods, you'll want to comment-out this line: 96 | *.lock 97 | 98 | 99 | # 100 | # profile - REMOVED temporarily (on double-checking, I can't find it in OS X docs?) 101 | #profile 102 | 103 | 104 | #### 105 | # Xcode temporary files that should never be committed 106 | # 107 | # NB: NIB/XIB files still exist even on Storyboard projects, so we want this... 108 | 109 | *~.nib 110 | 111 | 112 | #### 113 | # Xcode build files - 114 | # 115 | # NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData" 116 | 117 | DerivedData/ 118 | 119 | # NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build" 120 | 121 | # Xcode 122 | build/ 123 | 124 | 125 | ##### 126 | # Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups) 127 | # 128 | # This is complicated: 129 | # 130 | # SOMETIMES you need to put this file in version control. 131 | # Apple designed it poorly - if you use "custom executables", they are 132 | # saved in this file. 133 | # 99% of projects do NOT use those, so they do NOT want to version control this file. 134 | # ..but if you're in the 1%, comment out the line "*.pbxuser" 135 | 136 | # .pbxuser: http://lists.apple.com/archives/xcode-users/2004/Jan/msg00193.html 137 | 138 | *.pbxuser 139 | 140 | # .mode1v3: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html 141 | 142 | *.mode1v3 143 | 144 | # .mode2v3: http://lists.apple.com/archives/xcode-users/2007/Oct/msg00465.html 145 | 146 | *.mode2v3 147 | 148 | # .perspectivev3: http://stackoverflow.com/questions/5223297/xcode-projects-what-is-a-perspectivev3-file 149 | 150 | *.perspectivev3 151 | 152 | # NB: also, whitelist the default ones, some projects need to use these 153 | !default.pbxuser 154 | *.mode1v3 155 | !default.mode1v3 156 | *.mode2v3 157 | !default.mode2v3 158 | *.perspectivev3 159 | !default.perspectivev3 160 | 161 | 162 | #### 163 | # Xcode 4 - semi-personal settings 164 | # 165 | # Apple Shared data that Apple put in the wrong folder 166 | # c.f. http://stackoverflow.com/a/19260712/153422 167 | # FROM ANSWER: Apple says "don't ignore it" 168 | # FROM COMMENTS: Apple is wrong; Apple code is too buggy to trust; there are no known negative side-effects to ignoring Apple's unofficial advice and instead doing the thing that actively fixes bugs in Xcode 169 | # Up to you, but ... current advice: ignore it. 170 | xcuserdata 171 | *.xccheckout 172 | 173 | # 174 | # 175 | # OPTION 1: --------------------------------- 176 | # throw away ALL personal settings (including custom schemes! 177 | # - unless they are "shared") 178 | # As per build/ and DerivedData/, this ought to have a trailing slash 179 | # 180 | # NB: this is exclusive with OPTION 2 below 181 | xcuserdata/ 182 | 183 | # OPTION 2: --------------------------------- 184 | # get rid of ALL personal settings, but KEEP SOME OF THEM 185 | # - NB: you must manually uncomment the bits you want to keep 186 | # 187 | # NB: this *requires* git v1.8.2 or above; you may need to upgrade to latest OS X, 188 | # or manually install git over the top of the OS X version 189 | # NB: this is exclusive with OPTION 1 above 190 | # 191 | #xcuserdata/**/* 192 | 193 | # (requires option 2 above): Personal Schemes 194 | # 195 | #!xcuserdata/**/xcschemes/* 196 | 197 | #### 198 | # XCode 4 workspaces - more detailed 199 | # 200 | # Workspaces are important! They are a core feature of Xcode - don't exclude them :) 201 | # 202 | # Workspace layout is quite spammy. For reference: 203 | # 204 | # /(root)/ 205 | # /(project-name).xcodeproj/ 206 | # project.pbxproj 207 | # /project.xcworkspace/ 208 | # contents.xcworkspacedata 209 | # /xcuserdata/ 210 | # /(your name)/xcuserdatad/ 211 | # UserInterfaceState.xcuserstate 212 | # /xcshareddata/ 213 | # /xcschemes/ 214 | # (shared scheme name).xcscheme 215 | # /xcuserdata/ 216 | # /(your name)/xcuserdatad/ 217 | # (private scheme).xcscheme 218 | # xcschememanagement.plist 219 | # 220 | # 221 | 222 | #### 223 | # Xcode 4 - Deprecated classes 224 | # 225 | # Allegedly, if you manually "deprecate" your classes, they get moved here. 226 | # 227 | # We're using source-control, so this is a "feature" that we do not want! 228 | 229 | profile 230 | *.moved-aside 231 | 232 | #### 233 | # OPTIONAL: Some well-known tools that people use side-by-side with Xcode / iOS development 234 | # 235 | # NB: I'd rather not include these here, but gitignore's design is weak and doesn't allow 236 | # modular gitignore: you have to put EVERYTHING in one file. 237 | # 238 | # COCOAPODS: 239 | # 240 | # c.f. http://guides.cocoapods.org/using/using-cocoapods.html#what-is-a-podfilelock 241 | # c.f. http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 242 | # 243 | !Podfile.lock 244 | Pods/ 245 | 246 | 247 | DerivedData 248 | *.hmap 249 | *.ipa 250 | 251 | # 252 | # RUBY: 253 | # 254 | # c.f. http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/ 255 | # 256 | #!Gemfile.lock 257 | # 258 | # IDEA: 259 | # 260 | # c.f. https://www.jetbrains.com/objc/help/managing-projects-under-version-control.html?search=workspace.xml 261 | # 262 | #.idea/workspace.xml 263 | # 264 | # TEXTMATE: 265 | # 266 | # -- UNVERIFIED: c.f. http://stackoverflow.com/a/50283/153422 267 | # 268 | #tm_build_errors 269 | 270 | #### 271 | # UNKNOWN: recommended by others, but I can't discover what these files are 272 | # 273 | # CocoaPods 274 | Pods 275 | Podfile.lock 276 | Footer 277 | © 2023 GitHub, Inc. 278 | Footer navigation 279 | Terms 280 | Privacy 281 | Security 282 | Status 283 | Docs 284 | Contact GitHub 285 | Pricing 286 | API 287 | Training 288 | Blog 289 | About 290 | pagination/.gitignore at main · olimdzhon/pagination -------------------------------------------------------------------------------- /List.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 56; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 4B8A6DBF29F56CEB002FDA69 /* ListApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B8A6DBE29F56CEB002FDA69 /* ListApp.swift */; }; 11 | 4B8A6DC129F56CEB002FDA69 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B8A6DC029F56CEB002FDA69 /* ContentView.swift */; }; 12 | 4B8A6DC329F56CED002FDA69 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4B8A6DC229F56CED002FDA69 /* Assets.xcassets */; }; 13 | 4B8A6DC629F56CED002FDA69 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4B8A6DC529F56CED002FDA69 /* Preview Assets.xcassets */; }; 14 | 4B8A6DCD29F579B9002FDA69 /* ListItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B8A6DCC29F579B9002FDA69 /* ListItem.swift */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXFileReference section */ 18 | 4B8A6DBB29F56CEB002FDA69 /* List.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = List.app; sourceTree = BUILT_PRODUCTS_DIR; }; 19 | 4B8A6DBE29F56CEB002FDA69 /* ListApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ListApp.swift; sourceTree = ""; }; 20 | 4B8A6DC029F56CEB002FDA69 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 21 | 4B8A6DC229F56CED002FDA69 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 22 | 4B8A6DC529F56CED002FDA69 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; 23 | 4B8A6DCC29F579B9002FDA69 /* ListItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ListItem.swift; sourceTree = ""; }; 24 | /* End PBXFileReference section */ 25 | 26 | /* Begin PBXFrameworksBuildPhase section */ 27 | 4B8A6DB829F56CEB002FDA69 /* Frameworks */ = { 28 | isa = PBXFrameworksBuildPhase; 29 | buildActionMask = 2147483647; 30 | files = ( 31 | ); 32 | runOnlyForDeploymentPostprocessing = 0; 33 | }; 34 | /* End PBXFrameworksBuildPhase section */ 35 | 36 | /* Begin PBXGroup section */ 37 | 4B8A6DB229F56CEB002FDA69 = { 38 | isa = PBXGroup; 39 | children = ( 40 | 4B8A6DBD29F56CEB002FDA69 /* List */, 41 | 4B8A6DBC29F56CEB002FDA69 /* Products */, 42 | ); 43 | sourceTree = ""; 44 | }; 45 | 4B8A6DBC29F56CEB002FDA69 /* Products */ = { 46 | isa = PBXGroup; 47 | children = ( 48 | 4B8A6DBB29F56CEB002FDA69 /* List.app */, 49 | ); 50 | name = Products; 51 | sourceTree = ""; 52 | }; 53 | 4B8A6DBD29F56CEB002FDA69 /* List */ = { 54 | isa = PBXGroup; 55 | children = ( 56 | 4B8A6DBE29F56CEB002FDA69 /* ListApp.swift */, 57 | 4B8A6DC029F56CEB002FDA69 /* ContentView.swift */, 58 | 4B8A6DCC29F579B9002FDA69 /* ListItem.swift */, 59 | 4B8A6DC229F56CED002FDA69 /* Assets.xcassets */, 60 | 4B8A6DC429F56CED002FDA69 /* Preview Content */, 61 | ); 62 | path = List; 63 | sourceTree = ""; 64 | }; 65 | 4B8A6DC429F56CED002FDA69 /* Preview Content */ = { 66 | isa = PBXGroup; 67 | children = ( 68 | 4B8A6DC529F56CED002FDA69 /* Preview Assets.xcassets */, 69 | ); 70 | path = "Preview Content"; 71 | sourceTree = ""; 72 | }; 73 | /* End PBXGroup section */ 74 | 75 | /* Begin PBXNativeTarget section */ 76 | 4B8A6DBA29F56CEB002FDA69 /* List */ = { 77 | isa = PBXNativeTarget; 78 | buildConfigurationList = 4B8A6DC929F56CED002FDA69 /* Build configuration list for PBXNativeTarget "List" */; 79 | buildPhases = ( 80 | 4B8A6DB729F56CEB002FDA69 /* Sources */, 81 | 4B8A6DB829F56CEB002FDA69 /* Frameworks */, 82 | 4B8A6DB929F56CEB002FDA69 /* Resources */, 83 | ); 84 | buildRules = ( 85 | ); 86 | dependencies = ( 87 | ); 88 | name = List; 89 | productName = List; 90 | productReference = 4B8A6DBB29F56CEB002FDA69 /* List.app */; 91 | productType = "com.apple.product-type.application"; 92 | }; 93 | /* End PBXNativeTarget section */ 94 | 95 | /* Begin PBXProject section */ 96 | 4B8A6DB329F56CEB002FDA69 /* Project object */ = { 97 | isa = PBXProject; 98 | attributes = { 99 | BuildIndependentTargetsInParallel = 1; 100 | LastSwiftUpdateCheck = 1430; 101 | LastUpgradeCheck = 1430; 102 | TargetAttributes = { 103 | 4B8A6DBA29F56CEB002FDA69 = { 104 | CreatedOnToolsVersion = 14.3; 105 | }; 106 | }; 107 | }; 108 | buildConfigurationList = 4B8A6DB629F56CEB002FDA69 /* Build configuration list for PBXProject "List" */; 109 | compatibilityVersion = "Xcode 14.0"; 110 | developmentRegion = en; 111 | hasScannedForEncodings = 0; 112 | knownRegions = ( 113 | en, 114 | Base, 115 | ); 116 | mainGroup = 4B8A6DB229F56CEB002FDA69; 117 | productRefGroup = 4B8A6DBC29F56CEB002FDA69 /* Products */; 118 | projectDirPath = ""; 119 | projectRoot = ""; 120 | targets = ( 121 | 4B8A6DBA29F56CEB002FDA69 /* List */, 122 | ); 123 | }; 124 | /* End PBXProject section */ 125 | 126 | /* Begin PBXResourcesBuildPhase section */ 127 | 4B8A6DB929F56CEB002FDA69 /* Resources */ = { 128 | isa = PBXResourcesBuildPhase; 129 | buildActionMask = 2147483647; 130 | files = ( 131 | 4B8A6DC629F56CED002FDA69 /* Preview Assets.xcassets in Resources */, 132 | 4B8A6DC329F56CED002FDA69 /* Assets.xcassets in Resources */, 133 | ); 134 | runOnlyForDeploymentPostprocessing = 0; 135 | }; 136 | /* End PBXResourcesBuildPhase section */ 137 | 138 | /* Begin PBXSourcesBuildPhase section */ 139 | 4B8A6DB729F56CEB002FDA69 /* Sources */ = { 140 | isa = PBXSourcesBuildPhase; 141 | buildActionMask = 2147483647; 142 | files = ( 143 | 4B8A6DCD29F579B9002FDA69 /* ListItem.swift in Sources */, 144 | 4B8A6DC129F56CEB002FDA69 /* ContentView.swift in Sources */, 145 | 4B8A6DBF29F56CEB002FDA69 /* ListApp.swift in Sources */, 146 | ); 147 | runOnlyForDeploymentPostprocessing = 0; 148 | }; 149 | /* End PBXSourcesBuildPhase section */ 150 | 151 | /* Begin XCBuildConfiguration section */ 152 | 4B8A6DC729F56CED002FDA69 /* Debug */ = { 153 | isa = XCBuildConfiguration; 154 | buildSettings = { 155 | ALWAYS_SEARCH_USER_PATHS = NO; 156 | CLANG_ANALYZER_NONNULL = YES; 157 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 158 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; 159 | CLANG_ENABLE_MODULES = YES; 160 | CLANG_ENABLE_OBJC_ARC = YES; 161 | CLANG_ENABLE_OBJC_WEAK = YES; 162 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 163 | CLANG_WARN_BOOL_CONVERSION = YES; 164 | CLANG_WARN_COMMA = YES; 165 | CLANG_WARN_CONSTANT_CONVERSION = YES; 166 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 167 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 168 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 169 | CLANG_WARN_EMPTY_BODY = YES; 170 | CLANG_WARN_ENUM_CONVERSION = YES; 171 | CLANG_WARN_INFINITE_RECURSION = YES; 172 | CLANG_WARN_INT_CONVERSION = YES; 173 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 174 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 175 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 176 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 177 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 178 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 179 | CLANG_WARN_STRICT_PROTOTYPES = YES; 180 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 181 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 182 | CLANG_WARN_UNREACHABLE_CODE = YES; 183 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 184 | COPY_PHASE_STRIP = NO; 185 | DEBUG_INFORMATION_FORMAT = dwarf; 186 | ENABLE_STRICT_OBJC_MSGSEND = YES; 187 | ENABLE_TESTABILITY = YES; 188 | GCC_C_LANGUAGE_STANDARD = gnu11; 189 | GCC_DYNAMIC_NO_PIC = NO; 190 | GCC_NO_COMMON_BLOCKS = YES; 191 | GCC_OPTIMIZATION_LEVEL = 0; 192 | GCC_PREPROCESSOR_DEFINITIONS = ( 193 | "DEBUG=1", 194 | "$(inherited)", 195 | ); 196 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 197 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 198 | GCC_WARN_UNDECLARED_SELECTOR = YES; 199 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 200 | GCC_WARN_UNUSED_FUNCTION = YES; 201 | GCC_WARN_UNUSED_VARIABLE = YES; 202 | IPHONEOS_DEPLOYMENT_TARGET = 16.4; 203 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 204 | MTL_FAST_MATH = YES; 205 | ONLY_ACTIVE_ARCH = YES; 206 | SDKROOT = iphoneos; 207 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 208 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 209 | }; 210 | name = Debug; 211 | }; 212 | 4B8A6DC829F56CED002FDA69 /* Release */ = { 213 | isa = XCBuildConfiguration; 214 | buildSettings = { 215 | ALWAYS_SEARCH_USER_PATHS = NO; 216 | CLANG_ANALYZER_NONNULL = YES; 217 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 218 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; 219 | CLANG_ENABLE_MODULES = YES; 220 | CLANG_ENABLE_OBJC_ARC = YES; 221 | CLANG_ENABLE_OBJC_WEAK = YES; 222 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 223 | CLANG_WARN_BOOL_CONVERSION = YES; 224 | CLANG_WARN_COMMA = YES; 225 | CLANG_WARN_CONSTANT_CONVERSION = YES; 226 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 227 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 228 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 229 | CLANG_WARN_EMPTY_BODY = YES; 230 | CLANG_WARN_ENUM_CONVERSION = YES; 231 | CLANG_WARN_INFINITE_RECURSION = YES; 232 | CLANG_WARN_INT_CONVERSION = YES; 233 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 234 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 235 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 236 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 237 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 238 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 239 | CLANG_WARN_STRICT_PROTOTYPES = YES; 240 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 241 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 242 | CLANG_WARN_UNREACHABLE_CODE = YES; 243 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 244 | COPY_PHASE_STRIP = NO; 245 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 246 | ENABLE_NS_ASSERTIONS = NO; 247 | ENABLE_STRICT_OBJC_MSGSEND = YES; 248 | GCC_C_LANGUAGE_STANDARD = gnu11; 249 | GCC_NO_COMMON_BLOCKS = YES; 250 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 251 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 252 | GCC_WARN_UNDECLARED_SELECTOR = YES; 253 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 254 | GCC_WARN_UNUSED_FUNCTION = YES; 255 | GCC_WARN_UNUSED_VARIABLE = YES; 256 | IPHONEOS_DEPLOYMENT_TARGET = 16.4; 257 | MTL_ENABLE_DEBUG_INFO = NO; 258 | MTL_FAST_MATH = YES; 259 | SDKROOT = iphoneos; 260 | SWIFT_COMPILATION_MODE = wholemodule; 261 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 262 | VALIDATE_PRODUCT = YES; 263 | }; 264 | name = Release; 265 | }; 266 | 4B8A6DCA29F56CED002FDA69 /* Debug */ = { 267 | isa = XCBuildConfiguration; 268 | buildSettings = { 269 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 270 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 271 | CODE_SIGN_STYLE = Automatic; 272 | CURRENT_PROJECT_VERSION = 1; 273 | DEVELOPMENT_ASSET_PATHS = "\"List/Preview Content\""; 274 | DEVELOPMENT_TEAM = J37J2R6GX9; 275 | ENABLE_PREVIEWS = YES; 276 | GENERATE_INFOPLIST_FILE = YES; 277 | INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; 278 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; 279 | INFOPLIST_KEY_UILaunchScreen_Generation = YES; 280 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; 281 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; 282 | LD_RUNPATH_SEARCH_PATHS = ( 283 | "$(inherited)", 284 | "@executable_path/Frameworks", 285 | ); 286 | MARKETING_VERSION = 1.0; 287 | PRODUCT_BUNDLE_IDENTIFIER = com.esportsination.List; 288 | PRODUCT_NAME = "$(TARGET_NAME)"; 289 | SWIFT_EMIT_LOC_STRINGS = YES; 290 | SWIFT_VERSION = 5.0; 291 | TARGETED_DEVICE_FAMILY = "1,2"; 292 | }; 293 | name = Debug; 294 | }; 295 | 4B8A6DCB29F56CED002FDA69 /* Release */ = { 296 | isa = XCBuildConfiguration; 297 | buildSettings = { 298 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 299 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 300 | CODE_SIGN_STYLE = Automatic; 301 | CURRENT_PROJECT_VERSION = 1; 302 | DEVELOPMENT_ASSET_PATHS = "\"List/Preview Content\""; 303 | DEVELOPMENT_TEAM = J37J2R6GX9; 304 | ENABLE_PREVIEWS = YES; 305 | GENERATE_INFOPLIST_FILE = YES; 306 | INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; 307 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; 308 | INFOPLIST_KEY_UILaunchScreen_Generation = YES; 309 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; 310 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; 311 | LD_RUNPATH_SEARCH_PATHS = ( 312 | "$(inherited)", 313 | "@executable_path/Frameworks", 314 | ); 315 | MARKETING_VERSION = 1.0; 316 | PRODUCT_BUNDLE_IDENTIFIER = com.esportsination.List; 317 | PRODUCT_NAME = "$(TARGET_NAME)"; 318 | SWIFT_EMIT_LOC_STRINGS = YES; 319 | SWIFT_VERSION = 5.0; 320 | TARGETED_DEVICE_FAMILY = "1,2"; 321 | }; 322 | name = Release; 323 | }; 324 | /* End XCBuildConfiguration section */ 325 | 326 | /* Begin XCConfigurationList section */ 327 | 4B8A6DB629F56CEB002FDA69 /* Build configuration list for PBXProject "List" */ = { 328 | isa = XCConfigurationList; 329 | buildConfigurations = ( 330 | 4B8A6DC729F56CED002FDA69 /* Debug */, 331 | 4B8A6DC829F56CED002FDA69 /* Release */, 332 | ); 333 | defaultConfigurationIsVisible = 0; 334 | defaultConfigurationName = Release; 335 | }; 336 | 4B8A6DC929F56CED002FDA69 /* Build configuration list for PBXNativeTarget "List" */ = { 337 | isa = XCConfigurationList; 338 | buildConfigurations = ( 339 | 4B8A6DCA29F56CED002FDA69 /* Debug */, 340 | 4B8A6DCB29F56CED002FDA69 /* Release */, 341 | ); 342 | defaultConfigurationIsVisible = 0; 343 | defaultConfigurationName = Release; 344 | }; 345 | /* End XCConfigurationList section */ 346 | }; 347 | rootObject = 4B8A6DB329F56CEB002FDA69 /* Project object */; 348 | } 349 | -------------------------------------------------------------------------------- /List.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /List.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /List.xcodeproj/xcuserdata/olimdzonsadykov.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | List.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /List/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 | -------------------------------------------------------------------------------- /List/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "platform" : "ios", 6 | "size" : "1024x1024" 7 | } 8 | ], 9 | "info" : { 10 | "author" : "xcode", 11 | "version" : 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /List/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /List/ContentView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ContentView.swift 3 | // List 4 | // 5 | // Created by Олимджон Садыков on 23/04/23. 6 | // 7 | 8 | import SwiftUI 9 | 10 | struct Language: Identifiable { 11 | let id = UUID() 12 | let name: String 13 | let image: String 14 | } 15 | 16 | struct ContentView: View { 17 | 18 | // let languages = [ 19 | // Language(name: "Swift", image: "airplane"), 20 | // Language(name: "Kotlin", image: "airplane.departure"), 21 | // Language(name: "TypeScript", image: "airplane.arrival") 22 | // ] 23 | 24 | var body: some View { 25 | List{ 26 | Text("C") 27 | Text("JAVA") 28 | Text("JavaScript") 29 | } 30 | // List(languages) { language in 31 | // Text(language.name) 32 | // } 33 | // List(languages) { language in 34 | // HStack{ 35 | // Text(language.name) 36 | // Spacer() 37 | // Image(systemName: language.image) 38 | // } 39 | // } 40 | // List(languages) { language in 41 | // ListItem(name: language.name, image: language.image) 42 | // } 43 | .padding() 44 | } 45 | } 46 | 47 | struct ContentView_Previews: PreviewProvider { 48 | static var previews: some View { 49 | ContentView() 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /List/ListApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ListApp.swift 3 | // List 4 | // 5 | // Created by Олимджон Садыков on 23/04/23. 6 | // 7 | 8 | import SwiftUI 9 | 10 | @main 11 | struct ListApp: App { 12 | var body: some Scene { 13 | WindowGroup { 14 | ContentView() 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /List/ListItem.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ListItem.swift 3 | // List 4 | // 5 | // Created by Олимджон Садыков on 23/04/23. 6 | // 7 | 8 | import SwiftUI 9 | 10 | struct ListItem: View { 11 | var name: String 12 | var image: String 13 | 14 | var body: some View { 15 | HStack{ 16 | Text(name) 17 | Spacer() 18 | Image(systemName: image) 19 | } 20 | } 21 | } 22 | 23 | struct ListItem_Previews: PreviewProvider { 24 | static var previews: some View { 25 | ListItem(name: "Basic", image: "car") 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /List/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | --------------------------------------------------------------------------------