demo.mp4
GitHub Explorer is an iOS application that allows users to search for GitHub users, view their profile information, and explore their repositories with ease. It features a clean and simple UI for a seamless experience, with functionality like offline support, pagination, and input validation.
- User Search: Search for any GitHub user by their username and retrieve their profile information and public repositories.
- Offline Support: View previously searched users and their repositories even when offline, making it easy to revisit information without an active internet connection.
- Disable Button on Invalid Input: The search button is disabled until a valid username is entered, ensuring users provide proper input.
- Pagination Support: Load user repositories in batches with pagination for smoother and more efficient browsing.
Swift: The primary programming language for building iOS apps. SwiftUI: Used for creating a declarative, modern user interface. SwiftData: Handling offline data storage and caching for offline support. SDWebImageSwiftUI: Efficient image downloading and caching for displaying user avatars.
-
Clone this repository:
https://github.com/ARMV007/GitHub_Explorer.git
-
Navigate to the project directory:
cd GitHub_Explorer
-
Open the project in Xcode:
open GitHub_Explorer.xcodeproj
-
Build and run the project on your simulator or iOS device.
- Launch the app.
- Enter a valid GitHub username in the search bar.
- View the user profile and browse through their repositories.
- The app will load repositories in pages for easy browsing.
- Access previously searched users offline without needing an internet connection.
This project is licensed under the MIT License. See the LICENSE file for more details.
If you have any questions or feedback, feel free to reach out via GitHub issues.