├── Custom Menu.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── xcuserdata │ ├── Marco.xcuserdatad │ └── xcschemes │ │ └── xcschememanagement.plist │ └── balaji.xcuserdatad │ └── xcschemes │ └── xcschememanagement.plist ├── Custom Menu ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Color.colorset │ │ └── Contents.json │ ├── Color1.colorset │ │ └── Contents.json │ ├── Contents.json │ ├── avatar.imageset │ │ ├── Contents.json │ │ └── icons8-circled_user_male_skin_type_4.png │ ├── cart.imageset │ │ ├── Contents.json │ │ └── cart.png │ ├── catalouge.imageset │ │ ├── Contents.json │ │ └── catalouge.png │ ├── fav.imageset │ │ ├── Contents.json │ │ └── fav.png │ ├── h1.imageset │ │ ├── Contents.json │ │ └── rsz_1rsz_setup-airpods-pro-put-in-case.png │ ├── h2.imageset │ │ ├── Contents.json │ │ └── rsz_1rsz_2092988214-1542893683.png │ ├── menu.imageset │ │ ├── Contents.json │ │ └── menu.png │ ├── orders.imageset │ │ ├── Contents.json │ │ └── orders.png │ ├── out.imageset │ │ ├── Contents.json │ │ └── out.png │ └── top.imageset │ │ ├── 1_13_tb.png │ │ └── Contents.json ├── Base.lproj │ └── LaunchScreen.storyboard ├── Info.plist ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── SceneDelegate.swift └── Views │ ├── CartView.swift │ ├── ContentView.swift │ ├── FavotiresView.swift │ ├── HomeView.swift │ ├── MainPage.swift │ └── OrderView.swift ├── Custom MenuTests ├── Custom_MenuTests.swift └── Info.plist ├── Custom MenuUITests ├── Custom_MenuUITests.swift └── Info.plist ├── README.md ├── Screen1.jpg └── Screen2.jpg /Custom Menu.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | A9B037C724C1DEAE00085E03 /* HomeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B037C624C1DEAE00085E03 /* HomeView.swift */; }; 11 | A9B037C924C1DED700085E03 /* MainPage.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B037C824C1DED700085E03 /* MainPage.swift */; }; 12 | A9B037CB24C1DEFE00085E03 /* CartView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B037CA24C1DEFE00085E03 /* CartView.swift */; }; 13 | A9B037CD24C1DF2300085E03 /* OrderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B037CC24C1DF2300085E03 /* OrderView.swift */; }; 14 | A9B037CF24C1DF3F00085E03 /* FavotiresView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9B037CE24C1DF3F00085E03 /* FavotiresView.swift */; }; 15 | AD88B2DB248BFD96008288B3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD88B2DA248BFD96008288B3 /* AppDelegate.swift */; }; 16 | AD88B2DD248BFD96008288B3 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD88B2DC248BFD96008288B3 /* SceneDelegate.swift */; }; 17 | AD88B2DF248BFD96008288B3 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD88B2DE248BFD96008288B3 /* ContentView.swift */; }; 18 | AD88B2E1248BFD9B008288B3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AD88B2E0248BFD9B008288B3 /* Assets.xcassets */; }; 19 | AD88B2E4248BFD9B008288B3 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AD88B2E3248BFD9B008288B3 /* Preview Assets.xcassets */; }; 20 | AD88B2E7248BFD9B008288B3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AD88B2E5248BFD9B008288B3 /* LaunchScreen.storyboard */; }; 21 | AD88B2F2248BFD9B008288B3 /* Custom_MenuTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD88B2F1248BFD9B008288B3 /* Custom_MenuTests.swift */; }; 22 | AD88B2FD248BFD9B008288B3 /* Custom_MenuUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD88B2FC248BFD9B008288B3 /* Custom_MenuUITests.swift */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXContainerItemProxy section */ 26 | AD88B2EE248BFD9B008288B3 /* PBXContainerItemProxy */ = { 27 | isa = PBXContainerItemProxy; 28 | containerPortal = AD88B2CF248BFD96008288B3 /* Project object */; 29 | proxyType = 1; 30 | remoteGlobalIDString = AD88B2D6248BFD96008288B3; 31 | remoteInfo = "Custom Menu"; 32 | }; 33 | AD88B2F9248BFD9B008288B3 /* PBXContainerItemProxy */ = { 34 | isa = PBXContainerItemProxy; 35 | containerPortal = AD88B2CF248BFD96008288B3 /* Project object */; 36 | proxyType = 1; 37 | remoteGlobalIDString = AD88B2D6248BFD96008288B3; 38 | remoteInfo = "Custom Menu"; 39 | }; 40 | /* End PBXContainerItemProxy section */ 41 | 42 | /* Begin PBXFileReference section */ 43 | A9B037C624C1DEAE00085E03 /* HomeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeView.swift; sourceTree = ""; }; 44 | A9B037C824C1DED700085E03 /* MainPage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainPage.swift; sourceTree = ""; }; 45 | A9B037CA24C1DEFE00085E03 /* CartView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CartView.swift; sourceTree = ""; }; 46 | A9B037CC24C1DF2300085E03 /* OrderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OrderView.swift; sourceTree = ""; }; 47 | A9B037CE24C1DF3F00085E03 /* FavotiresView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FavotiresView.swift; sourceTree = ""; }; 48 | AD88B2D7248BFD96008288B3 /* Custom Menu.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Custom Menu.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | AD88B2DA248BFD96008288B3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 50 | AD88B2DC248BFD96008288B3 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; 51 | AD88B2DE248BFD96008288B3 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 52 | AD88B2E0248BFD9B008288B3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 53 | AD88B2E3248BFD9B008288B3 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; 54 | AD88B2E6248BFD9B008288B3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 55 | AD88B2E8248BFD9B008288B3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | AD88B2ED248BFD9B008288B3 /* Custom MenuTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Custom MenuTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 57 | AD88B2F1248BFD9B008288B3 /* Custom_MenuTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Custom_MenuTests.swift; sourceTree = ""; }; 58 | AD88B2F3248BFD9B008288B3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 59 | AD88B2F8248BFD9B008288B3 /* Custom MenuUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Custom MenuUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | AD88B2FC248BFD9B008288B3 /* Custom_MenuUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Custom_MenuUITests.swift; sourceTree = ""; }; 61 | AD88B2FE248BFD9B008288B3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 62 | /* End PBXFileReference section */ 63 | 64 | /* Begin PBXFrameworksBuildPhase section */ 65 | AD88B2D4248BFD96008288B3 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | ); 70 | runOnlyForDeploymentPostprocessing = 0; 71 | }; 72 | AD88B2EA248BFD9B008288B3 /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | AD88B2F5248BFD9B008288B3 /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | /* End PBXFrameworksBuildPhase section */ 87 | 88 | /* Begin PBXGroup section */ 89 | A9B037D024C1DF7E00085E03 /* Views */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | AD88B2DE248BFD96008288B3 /* ContentView.swift */, 93 | A9B037C624C1DEAE00085E03 /* HomeView.swift */, 94 | A9B037C824C1DED700085E03 /* MainPage.swift */, 95 | A9B037CA24C1DEFE00085E03 /* CartView.swift */, 96 | A9B037CC24C1DF2300085E03 /* OrderView.swift */, 97 | A9B037CE24C1DF3F00085E03 /* FavotiresView.swift */, 98 | ); 99 | path = Views; 100 | sourceTree = ""; 101 | }; 102 | AD88B2CE248BFD96008288B3 = { 103 | isa = PBXGroup; 104 | children = ( 105 | AD88B2D9248BFD96008288B3 /* Custom Menu */, 106 | AD88B2F0248BFD9B008288B3 /* Custom MenuTests */, 107 | AD88B2FB248BFD9B008288B3 /* Custom MenuUITests */, 108 | AD88B2D8248BFD96008288B3 /* Products */, 109 | ); 110 | sourceTree = ""; 111 | }; 112 | AD88B2D8248BFD96008288B3 /* Products */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | AD88B2D7248BFD96008288B3 /* Custom Menu.app */, 116 | AD88B2ED248BFD9B008288B3 /* Custom MenuTests.xctest */, 117 | AD88B2F8248BFD9B008288B3 /* Custom MenuUITests.xctest */, 118 | ); 119 | name = Products; 120 | sourceTree = ""; 121 | }; 122 | AD88B2D9248BFD96008288B3 /* Custom Menu */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | A9B037D024C1DF7E00085E03 /* Views */, 126 | AD88B2DA248BFD96008288B3 /* AppDelegate.swift */, 127 | AD88B2DC248BFD96008288B3 /* SceneDelegate.swift */, 128 | AD88B2E0248BFD9B008288B3 /* Assets.xcassets */, 129 | AD88B2E5248BFD9B008288B3 /* LaunchScreen.storyboard */, 130 | AD88B2E8248BFD9B008288B3 /* Info.plist */, 131 | AD88B2E2248BFD9B008288B3 /* Preview Content */, 132 | ); 133 | path = "Custom Menu"; 134 | sourceTree = ""; 135 | }; 136 | AD88B2E2248BFD9B008288B3 /* Preview Content */ = { 137 | isa = PBXGroup; 138 | children = ( 139 | AD88B2E3248BFD9B008288B3 /* Preview Assets.xcassets */, 140 | ); 141 | path = "Preview Content"; 142 | sourceTree = ""; 143 | }; 144 | AD88B2F0248BFD9B008288B3 /* Custom MenuTests */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | AD88B2F1248BFD9B008288B3 /* Custom_MenuTests.swift */, 148 | AD88B2F3248BFD9B008288B3 /* Info.plist */, 149 | ); 150 | path = "Custom MenuTests"; 151 | sourceTree = ""; 152 | }; 153 | AD88B2FB248BFD9B008288B3 /* Custom MenuUITests */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | AD88B2FC248BFD9B008288B3 /* Custom_MenuUITests.swift */, 157 | AD88B2FE248BFD9B008288B3 /* Info.plist */, 158 | ); 159 | path = "Custom MenuUITests"; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | AD88B2D6248BFD96008288B3 /* Custom Menu */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = AD88B301248BFD9B008288B3 /* Build configuration list for PBXNativeTarget "Custom Menu" */; 168 | buildPhases = ( 169 | AD88B2D3248BFD96008288B3 /* Sources */, 170 | AD88B2D4248BFD96008288B3 /* Frameworks */, 171 | AD88B2D5248BFD96008288B3 /* Resources */, 172 | ); 173 | buildRules = ( 174 | ); 175 | dependencies = ( 176 | ); 177 | name = "Custom Menu"; 178 | productName = "Custom Menu"; 179 | productReference = AD88B2D7248BFD96008288B3 /* Custom Menu.app */; 180 | productType = "com.apple.product-type.application"; 181 | }; 182 | AD88B2EC248BFD9B008288B3 /* Custom MenuTests */ = { 183 | isa = PBXNativeTarget; 184 | buildConfigurationList = AD88B304248BFD9B008288B3 /* Build configuration list for PBXNativeTarget "Custom MenuTests" */; 185 | buildPhases = ( 186 | AD88B2E9248BFD9B008288B3 /* Sources */, 187 | AD88B2EA248BFD9B008288B3 /* Frameworks */, 188 | AD88B2EB248BFD9B008288B3 /* Resources */, 189 | ); 190 | buildRules = ( 191 | ); 192 | dependencies = ( 193 | AD88B2EF248BFD9B008288B3 /* PBXTargetDependency */, 194 | ); 195 | name = "Custom MenuTests"; 196 | productName = "Custom MenuTests"; 197 | productReference = AD88B2ED248BFD9B008288B3 /* Custom MenuTests.xctest */; 198 | productType = "com.apple.product-type.bundle.unit-test"; 199 | }; 200 | AD88B2F7248BFD9B008288B3 /* Custom MenuUITests */ = { 201 | isa = PBXNativeTarget; 202 | buildConfigurationList = AD88B307248BFD9B008288B3 /* Build configuration list for PBXNativeTarget "Custom MenuUITests" */; 203 | buildPhases = ( 204 | AD88B2F4248BFD9B008288B3 /* Sources */, 205 | AD88B2F5248BFD9B008288B3 /* Frameworks */, 206 | AD88B2F6248BFD9B008288B3 /* Resources */, 207 | ); 208 | buildRules = ( 209 | ); 210 | dependencies = ( 211 | AD88B2FA248BFD9B008288B3 /* PBXTargetDependency */, 212 | ); 213 | name = "Custom MenuUITests"; 214 | productName = "Custom MenuUITests"; 215 | productReference = AD88B2F8248BFD9B008288B3 /* Custom MenuUITests.xctest */; 216 | productType = "com.apple.product-type.bundle.ui-testing"; 217 | }; 218 | /* End PBXNativeTarget section */ 219 | 220 | /* Begin PBXProject section */ 221 | AD88B2CF248BFD96008288B3 /* Project object */ = { 222 | isa = PBXProject; 223 | attributes = { 224 | LastSwiftUpdateCheck = 1140; 225 | LastUpgradeCheck = 1140; 226 | ORGANIZATIONNAME = Balaji; 227 | TargetAttributes = { 228 | AD88B2D6248BFD96008288B3 = { 229 | CreatedOnToolsVersion = 11.4.1; 230 | }; 231 | AD88B2EC248BFD9B008288B3 = { 232 | CreatedOnToolsVersion = 11.4.1; 233 | TestTargetID = AD88B2D6248BFD96008288B3; 234 | }; 235 | AD88B2F7248BFD9B008288B3 = { 236 | CreatedOnToolsVersion = 11.4.1; 237 | TestTargetID = AD88B2D6248BFD96008288B3; 238 | }; 239 | }; 240 | }; 241 | buildConfigurationList = AD88B2D2248BFD96008288B3 /* Build configuration list for PBXProject "Custom Menu" */; 242 | compatibilityVersion = "Xcode 9.3"; 243 | developmentRegion = en; 244 | hasScannedForEncodings = 0; 245 | knownRegions = ( 246 | en, 247 | Base, 248 | ); 249 | mainGroup = AD88B2CE248BFD96008288B3; 250 | productRefGroup = AD88B2D8248BFD96008288B3 /* Products */; 251 | projectDirPath = ""; 252 | projectRoot = ""; 253 | targets = ( 254 | AD88B2D6248BFD96008288B3 /* Custom Menu */, 255 | AD88B2EC248BFD9B008288B3 /* Custom MenuTests */, 256 | AD88B2F7248BFD9B008288B3 /* Custom MenuUITests */, 257 | ); 258 | }; 259 | /* End PBXProject section */ 260 | 261 | /* Begin PBXResourcesBuildPhase section */ 262 | AD88B2D5248BFD96008288B3 /* Resources */ = { 263 | isa = PBXResourcesBuildPhase; 264 | buildActionMask = 2147483647; 265 | files = ( 266 | AD88B2E7248BFD9B008288B3 /* LaunchScreen.storyboard in Resources */, 267 | AD88B2E4248BFD9B008288B3 /* Preview Assets.xcassets in Resources */, 268 | AD88B2E1248BFD9B008288B3 /* Assets.xcassets in Resources */, 269 | ); 270 | runOnlyForDeploymentPostprocessing = 0; 271 | }; 272 | AD88B2EB248BFD9B008288B3 /* Resources */ = { 273 | isa = PBXResourcesBuildPhase; 274 | buildActionMask = 2147483647; 275 | files = ( 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | AD88B2F6248BFD9B008288B3 /* Resources */ = { 280 | isa = PBXResourcesBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | ); 284 | runOnlyForDeploymentPostprocessing = 0; 285 | }; 286 | /* End PBXResourcesBuildPhase section */ 287 | 288 | /* Begin PBXSourcesBuildPhase section */ 289 | AD88B2D3248BFD96008288B3 /* Sources */ = { 290 | isa = PBXSourcesBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | A9B037CB24C1DEFE00085E03 /* CartView.swift in Sources */, 294 | A9B037C924C1DED700085E03 /* MainPage.swift in Sources */, 295 | AD88B2DB248BFD96008288B3 /* AppDelegate.swift in Sources */, 296 | A9B037C724C1DEAE00085E03 /* HomeView.swift in Sources */, 297 | A9B037CF24C1DF3F00085E03 /* FavotiresView.swift in Sources */, 298 | A9B037CD24C1DF2300085E03 /* OrderView.swift in Sources */, 299 | AD88B2DD248BFD96008288B3 /* SceneDelegate.swift in Sources */, 300 | AD88B2DF248BFD96008288B3 /* ContentView.swift in Sources */, 301 | ); 302 | runOnlyForDeploymentPostprocessing = 0; 303 | }; 304 | AD88B2E9248BFD9B008288B3 /* Sources */ = { 305 | isa = PBXSourcesBuildPhase; 306 | buildActionMask = 2147483647; 307 | files = ( 308 | AD88B2F2248BFD9B008288B3 /* Custom_MenuTests.swift in Sources */, 309 | ); 310 | runOnlyForDeploymentPostprocessing = 0; 311 | }; 312 | AD88B2F4248BFD9B008288B3 /* Sources */ = { 313 | isa = PBXSourcesBuildPhase; 314 | buildActionMask = 2147483647; 315 | files = ( 316 | AD88B2FD248BFD9B008288B3 /* Custom_MenuUITests.swift in Sources */, 317 | ); 318 | runOnlyForDeploymentPostprocessing = 0; 319 | }; 320 | /* End PBXSourcesBuildPhase section */ 321 | 322 | /* Begin PBXTargetDependency section */ 323 | AD88B2EF248BFD9B008288B3 /* PBXTargetDependency */ = { 324 | isa = PBXTargetDependency; 325 | target = AD88B2D6248BFD96008288B3 /* Custom Menu */; 326 | targetProxy = AD88B2EE248BFD9B008288B3 /* PBXContainerItemProxy */; 327 | }; 328 | AD88B2FA248BFD9B008288B3 /* PBXTargetDependency */ = { 329 | isa = PBXTargetDependency; 330 | target = AD88B2D6248BFD96008288B3 /* Custom Menu */; 331 | targetProxy = AD88B2F9248BFD9B008288B3 /* PBXContainerItemProxy */; 332 | }; 333 | /* End PBXTargetDependency section */ 334 | 335 | /* Begin PBXVariantGroup section */ 336 | AD88B2E5248BFD9B008288B3 /* LaunchScreen.storyboard */ = { 337 | isa = PBXVariantGroup; 338 | children = ( 339 | AD88B2E6248BFD9B008288B3 /* Base */, 340 | ); 341 | name = LaunchScreen.storyboard; 342 | sourceTree = ""; 343 | }; 344 | /* End PBXVariantGroup section */ 345 | 346 | /* Begin XCBuildConfiguration section */ 347 | AD88B2FF248BFD9B008288B3 /* Debug */ = { 348 | isa = XCBuildConfiguration; 349 | buildSettings = { 350 | ALWAYS_SEARCH_USER_PATHS = NO; 351 | CLANG_ANALYZER_NONNULL = YES; 352 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 353 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 354 | CLANG_CXX_LIBRARY = "libc++"; 355 | CLANG_ENABLE_MODULES = YES; 356 | CLANG_ENABLE_OBJC_ARC = YES; 357 | CLANG_ENABLE_OBJC_WEAK = YES; 358 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 359 | CLANG_WARN_BOOL_CONVERSION = YES; 360 | CLANG_WARN_COMMA = YES; 361 | CLANG_WARN_CONSTANT_CONVERSION = YES; 362 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 363 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 364 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 365 | CLANG_WARN_EMPTY_BODY = YES; 366 | CLANG_WARN_ENUM_CONVERSION = YES; 367 | CLANG_WARN_INFINITE_RECURSION = YES; 368 | CLANG_WARN_INT_CONVERSION = YES; 369 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 370 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 371 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 372 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 373 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 374 | CLANG_WARN_STRICT_PROTOTYPES = YES; 375 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 376 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 377 | CLANG_WARN_UNREACHABLE_CODE = YES; 378 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 379 | COPY_PHASE_STRIP = NO; 380 | DEBUG_INFORMATION_FORMAT = dwarf; 381 | ENABLE_STRICT_OBJC_MSGSEND = YES; 382 | ENABLE_TESTABILITY = YES; 383 | GCC_C_LANGUAGE_STANDARD = gnu11; 384 | GCC_DYNAMIC_NO_PIC = NO; 385 | GCC_NO_COMMON_BLOCKS = YES; 386 | GCC_OPTIMIZATION_LEVEL = 0; 387 | GCC_PREPROCESSOR_DEFINITIONS = ( 388 | "DEBUG=1", 389 | "$(inherited)", 390 | ); 391 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 392 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 393 | GCC_WARN_UNDECLARED_SELECTOR = YES; 394 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 395 | GCC_WARN_UNUSED_FUNCTION = YES; 396 | GCC_WARN_UNUSED_VARIABLE = YES; 397 | IPHONEOS_DEPLOYMENT_TARGET = 13.4; 398 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 399 | MTL_FAST_MATH = YES; 400 | ONLY_ACTIVE_ARCH = YES; 401 | SDKROOT = iphoneos; 402 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 403 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 404 | }; 405 | name = Debug; 406 | }; 407 | AD88B300248BFD9B008288B3 /* Release */ = { 408 | isa = XCBuildConfiguration; 409 | buildSettings = { 410 | ALWAYS_SEARCH_USER_PATHS = NO; 411 | CLANG_ANALYZER_NONNULL = YES; 412 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 413 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 414 | CLANG_CXX_LIBRARY = "libc++"; 415 | CLANG_ENABLE_MODULES = YES; 416 | CLANG_ENABLE_OBJC_ARC = YES; 417 | CLANG_ENABLE_OBJC_WEAK = YES; 418 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 419 | CLANG_WARN_BOOL_CONVERSION = YES; 420 | CLANG_WARN_COMMA = YES; 421 | CLANG_WARN_CONSTANT_CONVERSION = YES; 422 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 423 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 424 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 425 | CLANG_WARN_EMPTY_BODY = YES; 426 | CLANG_WARN_ENUM_CONVERSION = YES; 427 | CLANG_WARN_INFINITE_RECURSION = YES; 428 | CLANG_WARN_INT_CONVERSION = YES; 429 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 430 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 431 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 432 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 433 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 434 | CLANG_WARN_STRICT_PROTOTYPES = YES; 435 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 436 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 437 | CLANG_WARN_UNREACHABLE_CODE = YES; 438 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 439 | COPY_PHASE_STRIP = NO; 440 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 441 | ENABLE_NS_ASSERTIONS = NO; 442 | ENABLE_STRICT_OBJC_MSGSEND = YES; 443 | GCC_C_LANGUAGE_STANDARD = gnu11; 444 | GCC_NO_COMMON_BLOCKS = YES; 445 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 446 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 447 | GCC_WARN_UNDECLARED_SELECTOR = YES; 448 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 449 | GCC_WARN_UNUSED_FUNCTION = YES; 450 | GCC_WARN_UNUSED_VARIABLE = YES; 451 | IPHONEOS_DEPLOYMENT_TARGET = 13.4; 452 | MTL_ENABLE_DEBUG_INFO = NO; 453 | MTL_FAST_MATH = YES; 454 | SDKROOT = iphoneos; 455 | SWIFT_COMPILATION_MODE = wholemodule; 456 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 457 | VALIDATE_PRODUCT = YES; 458 | }; 459 | name = Release; 460 | }; 461 | AD88B302248BFD9B008288B3 /* Debug */ = { 462 | isa = XCBuildConfiguration; 463 | buildSettings = { 464 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 465 | CODE_SIGN_STYLE = Automatic; 466 | DEVELOPMENT_ASSET_PATHS = "\"Custom Menu/Preview Content\""; 467 | DEVELOPMENT_TEAM = 4XH46752B8; 468 | ENABLE_PREVIEWS = YES; 469 | INFOPLIST_FILE = "Custom Menu/Info.plist"; 470 | LD_RUNPATH_SEARCH_PATHS = ( 471 | "$(inherited)", 472 | "@executable_path/Frameworks", 473 | ); 474 | PRODUCT_BUNDLE_IDENTIFIER = MarcoLopes.CustomMenu; 475 | PRODUCT_NAME = "$(TARGET_NAME)"; 476 | SWIFT_VERSION = 5.0; 477 | TARGETED_DEVICE_FAMILY = "1,2"; 478 | }; 479 | name = Debug; 480 | }; 481 | AD88B303248BFD9B008288B3 /* Release */ = { 482 | isa = XCBuildConfiguration; 483 | buildSettings = { 484 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 485 | CODE_SIGN_STYLE = Automatic; 486 | DEVELOPMENT_ASSET_PATHS = "\"Custom Menu/Preview Content\""; 487 | DEVELOPMENT_TEAM = 4XH46752B8; 488 | ENABLE_PREVIEWS = YES; 489 | INFOPLIST_FILE = "Custom Menu/Info.plist"; 490 | LD_RUNPATH_SEARCH_PATHS = ( 491 | "$(inherited)", 492 | "@executable_path/Frameworks", 493 | ); 494 | PRODUCT_BUNDLE_IDENTIFIER = MarcoLopes.CustomMenu; 495 | PRODUCT_NAME = "$(TARGET_NAME)"; 496 | SWIFT_VERSION = 5.0; 497 | TARGETED_DEVICE_FAMILY = "1,2"; 498 | }; 499 | name = Release; 500 | }; 501 | AD88B305248BFD9B008288B3 /* Debug */ = { 502 | isa = XCBuildConfiguration; 503 | buildSettings = { 504 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 505 | BUNDLE_LOADER = "$(TEST_HOST)"; 506 | CODE_SIGN_STYLE = Automatic; 507 | INFOPLIST_FILE = "Custom MenuTests/Info.plist"; 508 | IPHONEOS_DEPLOYMENT_TARGET = 13.4; 509 | LD_RUNPATH_SEARCH_PATHS = ( 510 | "$(inherited)", 511 | "@executable_path/Frameworks", 512 | "@loader_path/Frameworks", 513 | ); 514 | PRODUCT_BUNDLE_IDENTIFIER = "Kavsoft.Custom-MenuTests"; 515 | PRODUCT_NAME = "$(TARGET_NAME)"; 516 | SWIFT_VERSION = 5.0; 517 | TARGETED_DEVICE_FAMILY = "1,2"; 518 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Custom Menu.app/Custom Menu"; 519 | }; 520 | name = Debug; 521 | }; 522 | AD88B306248BFD9B008288B3 /* Release */ = { 523 | isa = XCBuildConfiguration; 524 | buildSettings = { 525 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 526 | BUNDLE_LOADER = "$(TEST_HOST)"; 527 | CODE_SIGN_STYLE = Automatic; 528 | INFOPLIST_FILE = "Custom MenuTests/Info.plist"; 529 | IPHONEOS_DEPLOYMENT_TARGET = 13.4; 530 | LD_RUNPATH_SEARCH_PATHS = ( 531 | "$(inherited)", 532 | "@executable_path/Frameworks", 533 | "@loader_path/Frameworks", 534 | ); 535 | PRODUCT_BUNDLE_IDENTIFIER = "Kavsoft.Custom-MenuTests"; 536 | PRODUCT_NAME = "$(TARGET_NAME)"; 537 | SWIFT_VERSION = 5.0; 538 | TARGETED_DEVICE_FAMILY = "1,2"; 539 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Custom Menu.app/Custom Menu"; 540 | }; 541 | name = Release; 542 | }; 543 | AD88B308248BFD9B008288B3 /* Debug */ = { 544 | isa = XCBuildConfiguration; 545 | buildSettings = { 546 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 547 | CODE_SIGN_STYLE = Automatic; 548 | INFOPLIST_FILE = "Custom MenuUITests/Info.plist"; 549 | LD_RUNPATH_SEARCH_PATHS = ( 550 | "$(inherited)", 551 | "@executable_path/Frameworks", 552 | "@loader_path/Frameworks", 553 | ); 554 | PRODUCT_BUNDLE_IDENTIFIER = "Kavsoft.Custom-MenuUITests"; 555 | PRODUCT_NAME = "$(TARGET_NAME)"; 556 | SWIFT_VERSION = 5.0; 557 | TARGETED_DEVICE_FAMILY = "1,2"; 558 | TEST_TARGET_NAME = "Custom Menu"; 559 | }; 560 | name = Debug; 561 | }; 562 | AD88B309248BFD9B008288B3 /* Release */ = { 563 | isa = XCBuildConfiguration; 564 | buildSettings = { 565 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 566 | CODE_SIGN_STYLE = Automatic; 567 | INFOPLIST_FILE = "Custom MenuUITests/Info.plist"; 568 | LD_RUNPATH_SEARCH_PATHS = ( 569 | "$(inherited)", 570 | "@executable_path/Frameworks", 571 | "@loader_path/Frameworks", 572 | ); 573 | PRODUCT_BUNDLE_IDENTIFIER = "Kavsoft.Custom-MenuUITests"; 574 | PRODUCT_NAME = "$(TARGET_NAME)"; 575 | SWIFT_VERSION = 5.0; 576 | TARGETED_DEVICE_FAMILY = "1,2"; 577 | TEST_TARGET_NAME = "Custom Menu"; 578 | }; 579 | name = Release; 580 | }; 581 | /* End XCBuildConfiguration section */ 582 | 583 | /* Begin XCConfigurationList section */ 584 | AD88B2D2248BFD96008288B3 /* Build configuration list for PBXProject "Custom Menu" */ = { 585 | isa = XCConfigurationList; 586 | buildConfigurations = ( 587 | AD88B2FF248BFD9B008288B3 /* Debug */, 588 | AD88B300248BFD9B008288B3 /* Release */, 589 | ); 590 | defaultConfigurationIsVisible = 0; 591 | defaultConfigurationName = Release; 592 | }; 593 | AD88B301248BFD9B008288B3 /* Build configuration list for PBXNativeTarget "Custom Menu" */ = { 594 | isa = XCConfigurationList; 595 | buildConfigurations = ( 596 | AD88B302248BFD9B008288B3 /* Debug */, 597 | AD88B303248BFD9B008288B3 /* Release */, 598 | ); 599 | defaultConfigurationIsVisible = 0; 600 | defaultConfigurationName = Release; 601 | }; 602 | AD88B304248BFD9B008288B3 /* Build configuration list for PBXNativeTarget "Custom MenuTests" */ = { 603 | isa = XCConfigurationList; 604 | buildConfigurations = ( 605 | AD88B305248BFD9B008288B3 /* Debug */, 606 | AD88B306248BFD9B008288B3 /* Release */, 607 | ); 608 | defaultConfigurationIsVisible = 0; 609 | defaultConfigurationName = Release; 610 | }; 611 | AD88B307248BFD9B008288B3 /* Build configuration list for PBXNativeTarget "Custom MenuUITests" */ = { 612 | isa = XCConfigurationList; 613 | buildConfigurations = ( 614 | AD88B308248BFD9B008288B3 /* Debug */, 615 | AD88B309248BFD9B008288B3 /* Release */, 616 | ); 617 | defaultConfigurationIsVisible = 0; 618 | defaultConfigurationName = Release; 619 | }; 620 | /* End XCConfigurationList section */ 621 | }; 622 | rootObject = AD88B2CF248BFD96008288B3 /* Project object */; 623 | } 624 | -------------------------------------------------------------------------------- /Custom Menu.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Custom Menu.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Custom Menu.xcodeproj/xcuserdata/Marco.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Custom Menu.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Custom Menu.xcodeproj/xcuserdata/balaji.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Custom Menu.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Custom Menu/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | @UIApplicationMain 4 | class AppDelegate: UIResponder, UIApplicationDelegate { 5 | 6 | 7 | 8 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 9 | // Override point for customization after application launch. 10 | return true 11 | } 12 | 13 | // MARK: UISceneSession Lifecycle 14 | 15 | func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { 16 | // Called when a new scene session is being created. 17 | // Use this method to select a configuration to create the new scene with. 18 | return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) 19 | } 20 | 21 | func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { 22 | // Called when the user discards a scene session. 23 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 24 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 25 | } 26 | 27 | 28 | } 29 | 30 | -------------------------------------------------------------------------------- /Custom Menu/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 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/Color.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "color" : { 5 | "color-space" : "srgb", 6 | "components" : { 7 | "alpha" : "1.000", 8 | "blue" : "0.247", 9 | "green" : "0.154", 10 | "red" : "0.123" 11 | } 12 | }, 13 | "idiom" : "universal" 14 | } 15 | ], 16 | "info" : { 17 | "author" : "xcode", 18 | "version" : 1 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/Color1.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "color" : { 5 | "color-space" : "srgb", 6 | "components" : { 7 | "alpha" : "1.000", 8 | "blue" : "0.920", 9 | "green" : "0.481", 10 | "red" : "0.700" 11 | } 12 | }, 13 | "idiom" : "universal" 14 | } 15 | ], 16 | "info" : { 17 | "author" : "xcode", 18 | "version" : 1 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/avatar.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "icons8-circled_user_male_skin_type_4.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/avatar.imageset/icons8-circled_user_male_skin_type_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/avatar.imageset/icons8-circled_user_male_skin_type_4.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/cart.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "cart.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/cart.imageset/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/cart.imageset/cart.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/catalouge.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "catalouge.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/catalouge.imageset/catalouge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/catalouge.imageset/catalouge.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/fav.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "fav.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/fav.imageset/fav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/fav.imageset/fav.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/h1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "rsz_1rsz_setup-airpods-pro-put-in-case.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/h1.imageset/rsz_1rsz_setup-airpods-pro-put-in-case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/h1.imageset/rsz_1rsz_setup-airpods-pro-put-in-case.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/h2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "rsz_1rsz_2092988214-1542893683.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/h2.imageset/rsz_1rsz_2092988214-1542893683.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/h2.imageset/rsz_1rsz_2092988214-1542893683.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/menu.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "menu.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/menu.imageset/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/menu.imageset/menu.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/orders.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "orders.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/orders.imageset/orders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/orders.imageset/orders.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/out.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "out.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/out.imageset/out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/out.imageset/out.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/top.imageset/1_13_tb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Custom Menu/Assets.xcassets/top.imageset/1_13_tb.png -------------------------------------------------------------------------------- /Custom Menu/Assets.xcassets/top.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "1_13_tb.png", 5 | "idiom" : "universal", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "author" : "xcode", 19 | "version" : 1 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Custom Menu/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Custom Menu/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UIApplicationSceneManifest 24 | 25 | UIApplicationSupportsMultipleScenes 26 | 27 | UISceneConfigurations 28 | 29 | UIWindowSceneSessionRoleApplication 30 | 31 | 32 | UISceneConfigurationName 33 | Default Configuration 34 | UISceneDelegateClassName 35 | $(PRODUCT_MODULE_NAME).SceneDelegate 36 | 37 | 38 | 39 | 40 | UILaunchStoryboardName 41 | LaunchScreen 42 | UIRequiredDeviceCapabilities 43 | 44 | armv7 45 | 46 | UISupportedInterfaceOrientations 47 | 48 | UIInterfaceOrientationPortrait 49 | UIInterfaceOrientationLandscapeLeft 50 | UIInterfaceOrientationLandscapeRight 51 | 52 | UISupportedInterfaceOrientations~ipad 53 | 54 | UIInterfaceOrientationPortrait 55 | UIInterfaceOrientationPortraitUpsideDown 56 | UIInterfaceOrientationLandscapeLeft 57 | UIInterfaceOrientationLandscapeRight 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Custom Menu/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Custom Menu/SceneDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import SwiftUI 3 | 4 | class SceneDelegate: UIResponder, UIWindowSceneDelegate { 5 | 6 | var window: UIWindow? 7 | 8 | 9 | func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { 10 | // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. 11 | // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. 12 | // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). 13 | 14 | // Create the SwiftUI view that provides the window contents. 15 | let contentView = ContentView() 16 | 17 | // Use a UIHostingController as window root view controller. 18 | if let windowScene = scene as? UIWindowScene { 19 | let window = UIWindow(windowScene: windowScene) 20 | window.rootViewController = UIHostingController(rootView: contentView) 21 | self.window = window 22 | window.makeKeyAndVisible() 23 | } 24 | } 25 | 26 | func sceneDidDisconnect(_ scene: UIScene) { 27 | // Called as the scene is being released by the system. 28 | // This occurs shortly after the scene enters the background, or when its session is discarded. 29 | // Release any resources associated with this scene that can be re-created the next time the scene connects. 30 | // The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead). 31 | } 32 | 33 | func sceneDidBecomeActive(_ scene: UIScene) { 34 | // Called when the scene has moved from an inactive state to an active state. 35 | // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. 36 | } 37 | 38 | func sceneWillResignActive(_ scene: UIScene) { 39 | // Called when the scene will move from an active state to an inactive state. 40 | // This may occur due to temporary interruptions (ex. an incoming phone call). 41 | } 42 | 43 | func sceneWillEnterForeground(_ scene: UIScene) { 44 | // Called as the scene transitions from the background to the foreground. 45 | // Use this method to undo the changes made on entering the background. 46 | } 47 | 48 | func sceneDidEnterBackground(_ scene: UIScene) { 49 | // Called as the scene transitions from the foreground to the background. 50 | // Use this method to save data, release shared resources, and store enough scene-specific state information 51 | // to restore the scene back to its current state. 52 | } 53 | 54 | 55 | } 56 | 57 | -------------------------------------------------------------------------------- /Custom Menu/Views/CartView.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct CartView : View { 4 | 5 | var body: some View{ 6 | 7 | VStack{ 8 | 9 | Text("Cart") 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Custom Menu/Views/ContentView.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct ContentView: View { 4 | var body: some View { 5 | HomeView() 6 | } 7 | } 8 | 9 | struct ContentView_Previews: PreviewProvider { 10 | static var previews: some View { 11 | ContentView() 12 | } 13 | } 14 | 15 | 16 | -------------------------------------------------------------------------------- /Custom Menu/Views/FavotiresView.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct FavouritesView : View { 4 | 5 | var body: some View{ 6 | 7 | VStack{ 8 | 9 | Text("Favourites") 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Custom Menu/Views/HomeView.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct HomeView : View { 4 | 5 | @State var index = 0 6 | @State var show = false 7 | 8 | var body: some View{ 9 | 10 | ZStack{ 11 | 12 | // Menu... 13 | 14 | HStack{ 15 | 16 | VStack(alignment: .leading, spacing: 12) { 17 | 18 | Image("avatar") 19 | 20 | 21 | Text("Hey") 22 | .font(.title) 23 | .fontWeight(.bold) 24 | .foregroundColor(.white) 25 | .padding(.top, 10) 26 | 27 | Text("John") 28 | .fontWeight(.bold) 29 | .font(.title) 30 | .foregroundColor(.white) 31 | 32 | Button(action: { 33 | 34 | self.index = 0 35 | 36 | // animating Views... 37 | 38 | // Each Time Tab Is Clicked Menu Will be Closed... 39 | withAnimation{ 40 | 41 | self.show.toggle() 42 | } 43 | 44 | }) { 45 | 46 | HStack(spacing: 25){ 47 | 48 | Image("catalouge") 49 | .foregroundColor(self.index == 0 ? Color("Color1") : Color.white) 50 | 51 | 52 | Text("Catalouge") 53 | .foregroundColor(self.index == 0 ? Color("Color1") : Color.white) 54 | } 55 | .padding(.vertical, 10) 56 | .padding(.horizontal) 57 | .background(self.index == 0 ? Color("Color1").opacity(0.2) : Color.clear) 58 | .cornerRadius(10) 59 | } 60 | .padding(.top,25) 61 | 62 | Button(action: { 63 | 64 | self.index = 1 65 | 66 | withAnimation{ 67 | 68 | self.show.toggle() 69 | } 70 | 71 | }) { 72 | 73 | HStack(spacing: 25){ 74 | 75 | Image("cart") 76 | .foregroundColor(self.index == 1 ? Color("Color1") : Color.white) 77 | 78 | 79 | Text("Cart") 80 | .foregroundColor(self.index == 1 ? Color("Color1") : Color.white) 81 | } 82 | .padding(.vertical, 10) 83 | .padding(.horizontal) 84 | .background(self.index == 1 ? Color("Color1").opacity(0.2) : Color.clear) 85 | .cornerRadius(10) 86 | } 87 | 88 | Button(action: { 89 | 90 | self.index = 2 91 | 92 | withAnimation{ 93 | 94 | self.show.toggle() 95 | } 96 | 97 | }) { 98 | 99 | HStack(spacing: 25){ 100 | 101 | Image("fav") 102 | .foregroundColor(self.index == 2 ? Color("Color1") : Color.white) 103 | 104 | 105 | Text("Favourites") 106 | .foregroundColor(self.index == 2 ? Color("Color1") : Color.white) 107 | } 108 | .padding(.vertical, 10) 109 | .padding(.horizontal) 110 | .background(self.index == 2 ? Color("Color1").opacity(0.2) : Color.clear) 111 | .cornerRadius(10) 112 | } 113 | 114 | Button(action: { 115 | 116 | self.index = 3 117 | 118 | withAnimation{ 119 | 120 | self.show.toggle() 121 | } 122 | 123 | }) { 124 | 125 | HStack(spacing: 25){ 126 | 127 | Image("orders") 128 | .foregroundColor(self.index == 3 ? Color("Color1") : Color.white) 129 | 130 | 131 | Text("Your Orders") 132 | .foregroundColor(self.index == 3 ? Color("Color1") : Color.white) 133 | } 134 | .padding(.vertical, 10) 135 | .padding(.horizontal) 136 | .background(self.index == 3 ? Color("Color1").opacity(0.2) : Color.clear) 137 | .cornerRadius(10) 138 | } 139 | 140 | Divider() 141 | .frame(width: 150, height: 1) 142 | .background(Color.white) 143 | .padding(.vertical,30) 144 | 145 | Button(action: { 146 | 147 | 148 | }) { 149 | 150 | HStack(spacing: 25){ 151 | 152 | Image("out") 153 | .foregroundColor(Color.white) 154 | 155 | 156 | Text("Sign Out") 157 | .foregroundColor(Color.white) 158 | } 159 | .padding(.vertical, 10) 160 | .padding(.horizontal) 161 | } 162 | 163 | Spacer(minLength: 0) 164 | } 165 | .padding(.top,25) 166 | .padding(.horizontal,20) 167 | 168 | Spacer(minLength: 0) 169 | } 170 | .padding(.top,UIApplication.shared.windows.first?.safeAreaInsets.top) 171 | .padding(.bottom,UIApplication.shared.windows.first?.safeAreaInsets.bottom) 172 | 173 | // MainView... 174 | 175 | VStack(spacing: 0){ 176 | 177 | HStack(spacing: 15){ 178 | 179 | Button(action: { 180 | 181 | withAnimation{ 182 | 183 | self.show.toggle() 184 | } 185 | 186 | }) { 187 | 188 | // close Button... 189 | 190 | Image(systemName: self.show ? "xmark" : "line.horizontal.3") 191 | .resizable() 192 | .frame(width: self.show ? 18 : 22, height: 18) 193 | .foregroundColor(Color.black.opacity(0.4)) 194 | } 195 | 196 | // Changing Name Based On Index... 197 | 198 | Text(self.index == 0 ? "Home" : (self.index == 1 ? "Cart" : (self.index == 2 ? "Favourites" : "Orders"))) 199 | .font(.title) 200 | .foregroundColor(Color.black.opacity(0.6)) 201 | 202 | Spacer(minLength: 0) 203 | } 204 | .padding(.top,UIApplication.shared.windows.first?.safeAreaInsets.top) 205 | .padding() 206 | 207 | GeometryReader{_ in 208 | 209 | VStack{ 210 | 211 | // Changing Views Based On Index... 212 | 213 | if self.index == 0{ 214 | 215 | MainPage() 216 | } 217 | else if self.index == 1{ 218 | 219 | CartView() 220 | } 221 | else if self.index == 2{ 222 | 223 | FavouritesView() 224 | } 225 | else{ 226 | 227 | OrderView() 228 | } 229 | } 230 | } 231 | } 232 | .background(Color.white) 233 | //Applying Corner Radius... 234 | .cornerRadius(self.show ? 30 : 0) 235 | // Shrinking And Moving View Right Side When Menu Button Is Clicked... 236 | .scaleEffect(self.show ? 0.9 : 1) 237 | .offset(x: self.show ? UIScreen.main.bounds.width / 2 : 0, y: self.show ? 15 : 0) 238 | // Rotating Slighlty... 239 | .rotationEffect(.init(degrees: self.show ? -5 : 0)) 240 | 241 | } 242 | .background(Color("Color").edgesIgnoringSafeArea(.all)) 243 | .edgesIgnoringSafeArea(.all) 244 | } 245 | } 246 | -------------------------------------------------------------------------------- /Custom Menu/Views/MainPage.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct MainPage : View { 4 | 5 | var body: some View{ 6 | 7 | VStack{ 8 | 9 | ZStack(alignment: .bottomTrailing) { 10 | 11 | VStack(spacing: 12){ 12 | 13 | Image("top") 14 | .resizable() 15 | .frame(height: 210) 16 | 17 | Text("Macbook Pro 13 2020") 18 | .font(.title) 19 | .fontWeight(.bold) 20 | .foregroundColor(.black) 21 | .padding(.top, 10) 22 | 23 | Text("1500€") 24 | .foregroundColor(.gray) 25 | } 26 | .padding() 27 | .background(Color.black.opacity(0.06)) 28 | .cornerRadius(15) 29 | .padding() 30 | 31 | // Cart Button... 32 | 33 | Button(action: { 34 | 35 | 36 | }) { 37 | 38 | Image("cart") 39 | .foregroundColor(.white) 40 | .padding() 41 | .background(Color("Color1")) 42 | .cornerRadius(15) 43 | } 44 | .padding(.trailing) 45 | } 46 | 47 | ScrollView(.vertical, showsIndicators: false) { 48 | 49 | VStack(spacing: 30){ 50 | 51 | HStack(spacing: 15){ 52 | 53 | Image("h1") 54 | .frame(width: 100, height: 100) 55 | .scaledToFill() 56 | 57 | VStack(alignment: .leading, spacing: 12) { 58 | 59 | Text("Airpods Pro") 60 | .fontWeight(.bold) 61 | .foregroundColor(.black) 62 | 63 | Text("200€") 64 | .foregroundColor(.gray) 65 | } 66 | 67 | Spacer(minLength: 0) 68 | } 69 | 70 | HStack(spacing: 15){ 71 | 72 | Image("h2") 73 | .frame(width: 100, height: 100) 74 | .scaledToFit() 75 | 76 | VStack(alignment: .leading, spacing: 12) { 77 | 78 | Text("Apple Watch 3rd Edition") 79 | .fontWeight(.bold) 80 | .foregroundColor(.black) 81 | 82 | Text("250€") 83 | .foregroundColor(.gray) 84 | } 85 | 86 | Spacer(minLength: 0) 87 | } 88 | } 89 | .padding() 90 | } 91 | } 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /Custom Menu/Views/OrderView.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct OrderView : View { 4 | 5 | var body: some View{ 6 | 7 | VStack{ 8 | 9 | Text("Your Orders") 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Custom MenuTests/Custom_MenuTests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | @testable import Custom_Menu 3 | 4 | class Custom_MenuTests: XCTestCase { 5 | 6 | override func setUpWithError() throws { 7 | // Put setup code here. This method is called before the invocation of each test method in the class. 8 | } 9 | 10 | override func tearDownWithError() throws { 11 | // Put teardown code here. This method is called after the invocation of each test method in the class. 12 | } 13 | 14 | func testExample() throws { 15 | // This is an example of a functional test case. 16 | // Use XCTAssert and related functions to verify your tests produce the correct results. 17 | } 18 | 19 | func testPerformanceExample() throws { 20 | // This is an example of a performance test case. 21 | self.measure { 22 | // Put the code you want to measure the time of here. 23 | } 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Custom MenuTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Custom MenuUITests/Custom_MenuUITests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | 3 | class Custom_MenuUITests: XCTestCase { 4 | 5 | override func setUpWithError() throws { 6 | // Put setup code here. This method is called before the invocation of each test method in the class. 7 | 8 | // In UI tests it is usually best to stop immediately when a failure occurs. 9 | continueAfterFailure = false 10 | 11 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. 12 | } 13 | 14 | override func tearDownWithError() throws { 15 | // Put teardown code here. This method is called after the invocation of each test method in the class. 16 | } 17 | 18 | func testExample() throws { 19 | // UI tests must launch the application that they test. 20 | let app = XCUIApplication() 21 | app.launch() 22 | 23 | // Use recording to get started writing UI tests. 24 | // Use XCTAssert and related functions to verify your tests produce the correct results. 25 | } 26 | 27 | func testLaunchPerformance() throws { 28 | if #available(macOS 10.15, iOS 13.0, tvOS 13.0, *) { 29 | // This measures how long it takes to launch your application. 30 | measure(metrics: [XCTOSSignpostMetric.applicationLaunch]) { 31 | XCUIApplication().launch() 32 | } 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /Custom MenuUITests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Side-Menu-SwiftUI 2 | Cool Side Menu with Animations using SwiftUI 3 | 4 | Hamburguer Menu Custom Navigation Menu 5 | 6 | Was designed to be very useful for e-commerce style apps 7 | 8 | ![Screenshot](Screen1.jpg) 9 | ![Screenshot](Screen2.jpg) 10 | 11 | ## Contributing 12 | Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. 13 | 14 | Please make sure to update tests as appropriate. 15 | 16 | ## License 17 | [MIT](https://choosealicense.com/licenses/mit/) 18 | -------------------------------------------------------------------------------- /Screen1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Screen1.jpg -------------------------------------------------------------------------------- /Screen2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kraw-ios/Side-Menu-SwiftUI/dc40ac99f4e0d8404f1c57aa12573b5efa563d78/Screen2.jpg --------------------------------------------------------------------------------