About • Technologies • Requirements • License
Welcome to Shopping App iOS, a sample shopping app built to study SwiftUI and iOS development. This project utilizes the native iOS development stack and is implemented using Swift and SwiftUI.
Develop by @marialuisacp.
Shopping App iOS fetches product data from the Fake Store API, providing a list of products, filtering options, and detailed information about each product. It aims to showcase the usage of SwiftUI for building modern and intuitive user interfaces in iOS apps.
- Fetches product data from the Fake Store API
- Displays a list of products with images, titles, prices, and categories
- Supports filtering products by category
- Provides detailed information about each product, including description, price, and image
The main technologies used in this project are:
- Swift
- SwiftUI
- URLSession
- CoreData
- React Native Module
In this project, SwiftUI was employed to design native components and screens for iOS, encompassing all primary interfaces.
Alongside visual development, the app interacts with the store through requests to fetch products and product categories, facilitated by URLSession.
Persistence of shopping cart data is achieved using CoreData, ensuring seamless management and retention of user selections within the application.
Introducing our iOS widget designed in SwiftUI—a sleek promotion banner that seamlessly integrates with your daily routine.
This widget serves as a dynamic gateway to exclusive offers and promotions from our app. With a single tap on the banner, users are swiftly redirected to the app, where they can explore and shop featured deals without delay.
This innovative widget enhances user engagement by delivering timely promotions directly to the home screen, ensuring a seamless and rewarding shopping experience.
To explore the integration of React Native modules into the app, we developed an RN module that is accessible in this repository.
The module was integrated using RCTView in Swift, incorporating React Native libraries into the project. Additionally, a Bridge Manager was implemented to facilitate seamless communication between the native and React Native environments.
- Xcode 12 or later
- Swift 5.0 or later
- Internet connection to fetch data from the Fake Store API
- Clone or download the repository.
- Open the project in Xcode.
- Build and run the project on a simulator or a physical device.
Upon launching the app, you will be presented with a list of products. You can tap on any product to view its details. The app also allows you to filter products by category using the provided filter options.
- Fake Store API: https://fakestoreapi.com/
- SwiftUI: https://developer.apple.com/xcode/swiftui/
This project is licensed under the MIT License. Feel free to use and modify the code as per your requirements.