![User List App](https://private-user-images.githubusercontent.com/10169030/272530488-026e4b94-84d7-4d07-a07b-ab30654dea80.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MTk5MjEsIm5iZiI6MTcxOTYxOTYyMSwicGF0aCI6Ii8xMDE2OTAzMC8yNzI1MzA0ODgtMDI2ZTRiOTQtODRkNy00ZDA3LWEwN2ItYWIzMDY1NGRlYTgwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDAwMDcwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNlNjQ2N2E1MWI5NWJmMWYyZTY1YTEyNTBjOWVhNDUxNzk2MmFiZGJiMDRmZDhmNTMyMTUxMDBhMzkwZjMyNDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.F76KlJvh9xEiimHOPnjs2Mxq-8Qhy9U99WTiUpZ7oXM)
The SwiftUI User List is a modern iOS application built with SwiftUI. It provides users with the ability to view a list of users and their details. This README will guide you through the app's features, how to get started, and its underlying MVVM architecture.
- User List: View a list of users with their names and profile pictures.
- User Details: Select a user from the list to view their detailed information, including their name and date of birth.
- Format selection: You can choose between list and grid display.
- Reload data: You can reload the displayed data.
- Infinite scroll: You can scroll down infinitely.
- Extract logic to a viewModel: The main view contains to much logic, you should extract it to a viewModel, and unit test it.
- Extract view components from main view: The main view contains to much view logic, you should split it in several sub view components.
Responsible of managing the view state. No data/data-logic is handled here.
This is where the magic happens. This layer is listening for events from above through Inputs and transform them to Outputs. Thanks to this separation, each layer can communicates with each others without having a tight coupling of responsabilities.
Responsible of providing Data, by hiding where it comes from. In this project it's basicaly provided by FileManager
but it could be either from Network etc..
- Xcode 14 or later.
- iOS 16 or later.
- Clone the repository to your local machine:
git clone https://github.com/OpenClassrooms-Student-Center/DA-iOS_P4_exercise-2.git
- Open the project in Xcode.
- Build and run the project on your preferred simulator or physical device.
Launch the app and play with it ๐ช