This is an iOS application that allows users to browse, search, and view details of characters from the Naruto anime series. The application utilizes the Dattebayo API for fetching character data and is built using SwiftUI following the MVVM architecture.
- Browse Characters: Users can browse through a list of Naruto characters.
- Character Details: Users can view detailed information about each character.
- Search Functionality: Users can search for characters by name.
- Dynamic UI: Responsive and dynamic user interface built with SwiftUI.
- MVVM Architecture: Implements the Model-View-ViewModel (MVVM) design pattern for better code organization and maintainability.
- Clone the repository:
git clone https://github.com/mohd-kasif/Naruto-Universe.git
- Build and run the project on your simulator or device.
- Launch the app on your iOS device or simulator.
- Browse through the list of Naruto characters on the home screen.
- Tap on any character to view detailed information.
- Use the search bar to find characters by name.
This project follows the MVVM (Model-View-ViewModel) architecture:
- Model: Defines the data structures and manages the data (Character, API response models).
- View: The UI components built using SwiftUI (Views, Subviews).
- ViewModel: Acts as a bridge between the Model and View, handling business logic and data manipulation (CharacterViewModel, SearchViewModel).
The application integrates with the Dattebayo API to fetch character data. All network requests and data handling are managed within the ViewModels to ensure a clean separation of concerns.
This project is licensed under the MIT License. See the LICENSE file for more details.
- Dattebayo API for providing the Naruto character data.
- The Naruto anime series for inspiration and content.