Shopping-App-iOS-MVC-CoreData

所属分类:iPhone/iOS
开发工具:Swift
文件大小:0KB
下载次数:1
上传日期:2023-03-15 10:07:49
上 传 者sh-1993
说明:  使用Swift 5、MVC架构、核心数据、通知中心、UIKit、XCTest和Xcode Storybo进行iOS开发的个人项目...,
(Personal project in iOS development using Swift 5, MVC architecture, Core Data, Notification Center, UIKit, XCTest, and the Xcode Storyboard. This native iOS e-commerce application deals with updating a shopping cart.)

文件列表:
.DS_Store (6148, 2023-03-15)
Assets/ (0, 2023-03-15)
Assets/.DS_Store (6148, 2023-03-15)
Assets/Clips/ (0, 2023-03-15)
Assets/Clips/Shopping_App_iOS.gif (24694675, 2023-03-15)
Assets/Logo/ (0, 2023-03-15)
Assets/Logo/Shopping_App_Logo.png (27086, 2023-03-15)
Shoppable_App/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.pbxproj (56231, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata (135, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/xcshareddata/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (238, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (226, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/xcuserdata/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/xcuserdata/cristinadobson.xcuserdatad/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/xcuserdata/cristinadobson.xcuserdatad/UserInterfaceState.xcuserstate (1290483, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/project.xcworkspace/xcuserdata/cristinadobson.xcuserdatad/WorkspaceSettings.xcsettings (453, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcshareddata/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcshareddata/xcschemes/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcshareddata/xcschemes/ShoppableApp.xcscheme (3865, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcuserdata/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcuserdata/cristinadobson.xcuserdatad/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcuserdata/cristinadobson.xcuserdatad/xcdebugger/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcuserdata/cristinadobson.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist (582, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcuserdata/cristinadobson.xcuserdatad/xcschemes/ (0, 2023-03-15)
Shoppable_App/ShoppableApp.xcodeproj/xcuserdata/cristinadobson.xcuserdatad/xcschemes/xcschememanagement.plist (586, 2023-03-15)
Shoppable_App/ShoppableApp/ (0, 2023-03-15)
Shoppable_App/ShoppableApp/Animations/ (0, 2023-03-15)
Shoppable_App/ShoppableApp/Animations/ButtonAnimationHelper.swift (682, 2023-03-15)
Shoppable_App/ShoppableApp/Animations/Checkmark/ (0, 2023-03-15)
Shoppable_App/ShoppableApp/Animations/Checkmark/CheckmarkView.swift (3668, 2023-03-15)
Shoppable_App/ShoppableApp/AppDelegate.swift (766, 2023-03-15)
Shoppable_App/ShoppableApp/Assets.xcassets/ (0, 2023-03-15)
Shoppable_App/ShoppableApp/Assets.xcassets/AccentColor.colorset/ (0, 2023-03-15)
Shoppable_App/ShoppableApp/Assets.xcassets/AccentColor.colorset/Contents.json (123, 2023-03-15)
Shoppable_App/ShoppableApp/Assets.xcassets/AppIcon.appiconset/ (0, 2023-03-15)
Shoppable_App/ShoppableApp/Assets.xcassets/AppIcon.appiconset/Contents.json (222, 2023-03-15)
... ...

# (Swift 5, iOS 16): MVC, Core Data, Notification Center, UIKit & XCTest
![Logo](https://github.com/cristydobson/Shopping-App-iOS-MVC-CoreData/blob/master/Assets/Logo/Shopping_App_Logo.png)
### Shopping App This app contains: * A UITabBarController where the app is embedded into. * 2 UINavigationControllers * 4 UIViewControllers * 1 Storyboard * 1 Launchscreen * XCTests * Assets (App icon, buttons and 1 launchscreen image)


## Root Controller -> UITabBarController: * This View Controller has 2 child UINavigationControllers which produce 2 TabBarItems. * Delegate for ProductOverviewViewController and CartViewController. * It handles getting the product objects from the JSON file to be used through out the app. * It handles Shopping Cart data storage in CoreData.

## TabBarItem 1 - View Controller Stack: # 1. Top View Controller -> ProductOverviewViewController: * Organizes the products into collections of the same type of product. * Displays the collections on a UICollectionView. * Delegate for ProductCatalogViewController. * Contains a segue to ProductCatalogViewController. # 2. ProductCatalogViewController: * Receives the product list from a user-selected collection type. * Displays the list of products on a UICollectionView. * Can add a product to the Shopping Cart from each UICollectionViewCell. * Delegate for ProductPageViewController. * Contains a segue to ProductPageViewController. # 3. ProductPageViewController: * Receives a single user-selected product. * Displays the product's information inside a UIScrollView. * Can add the product to the Shopping Cart from the Add To Cart button.


## TabBarItem 2: # Top View Controller -> CartViewController: * Sets up an observer to update its Shopping Cart data and UI when ProductCatalogViewController and ProductPageViewController add a new product to the Shopping Cart. * Displays the products from the Shopping Cart on a UITableView. * The user can change the quantity of each product (+ || -) through a UIPickerView. * The user can remove each product from the Shopping Cart. * The total price of all the products in the Shopping Cart is always visible to the user at the bottom of the screen.


# Other features: * The UI adapts to light and dark modes. * Language localization setup (Spanish included as a starter). * Currency formatter to Locale for Strings.

近期下载者

相关文件


收藏者