This small app, written in Swift and built using the UIKit framework, allows you to search for users on GitHub. What makes this app special is that it demonstrates the power of async/await, a modern way of handling asynchronous operations in Swift.
- Select an image from the device's file system.
- Seamless integration of UIImagePickerController with SwiftUI.
Before you begin, ensure you have met the following requirements:
-
GitHub User Search: You can search for GitHub users by their username or any other search criteria.
-
Async/Await: This app showcases the use of async/await, making asynchronous code more readable and maintainable.
To run this app on your local machine, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/github-user-search-app.git
-
Open the project in Xcode.
-
Build and run the app on your iOS simulator or device.
Launch the app on your iOS device or simulator.
-
Enter the GitHub username or any search criteria in the search bar.
-
Press the "Search" button.
-
The app will retrieve and display the search results for the given query.
-
You can tap on a user to view their GitHub profile.
This app uses the GitHub API for user search. It leverages Swift's async/await capabilities and UIKit for building the user interface.