Github Developers App is a SwiftUI-based application that allows users to search for and view detailed information about GitHub developers. This app is designed with a clean, user-friendly interface and follows the MVVM (Model-View-ViewModel) architecture for better code organization and maintainability.
- Search GitHub Users: Enter a GitHub username to fetch and display detailed information.
- Developer Details: View developer details, including avatar, name, bio, location, company, repositories, followers, and more.
- Responsive UI: The app features a responsive design that adapts to different screen sizes.
- Asynchronous Data Loading: Data is fetched asynchronously to ensure a smooth user experience.
Screen1 | Screen2 | Screen3 |
---|---|---|
![]() |
![]() |
![]() |
- Clone the repository:
git clone https://github.com/yourusername/github-developers-app.git
- Open the project in Xcode:
cd github-developers-app open GithubDevelopers.xcodeproj
- Build and run the app on your simulator or device.
- On the home screen, enter a GitHub username.
- Tap on the search button to fetch the developer's details.
- View detailed information, including the developer's avatar, bio, location, repositories, and more.
This app is built using the MVVM (Model-View-ViewModel) architecture, which separates the business logic from the UI components. The DeveloperDetailViewModel
handles data fetching and formatting, while DeveloperDetailView
manages the UI presentation.
- SwiftUI: For building the user interface.
- Combine: For reactive data binding.
- URLSession: For making network requests to the GitHub API.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or features you'd like to add.
This project is licensed under the MIT License - see the LICENSE file for details.