Survey App is a simple iOS application developed using Swift 5 and Nimble BE. The application leverages the factory pattern to create dynamic Login and Forgot Password screens.
This way, we are able to create UI flexible and remote control UI as well.
Pull to Refresh integration.
Simple local cache to save response to file.
Auto-refresh token based on expiration time and backend invalid code response.
Forgot password integration.
The project utilizes the following dependencies:
Moya
: Networking layer and API request mocking.
Keychain Swift
: Simplifying keychain operations.
Kingfisher
: To simplifying display image.
SnapKit
: To auto layout and ui development.
Follow these steps to set up the development environment for the project.
- Xcode 14.3 installed on your machine.
- CocoaPods installed. If not, install it using:
sudo gem install cocoapods
Clone the repository to your local machine:
git@github.com:congtung10t2/NimbleTest.git
Navigate to the project directory:
cd NimbleTest
Pod install:
pod install
Open the project workspa 514F ce in Xcode:
SurveyApp.xcworkspace
Finally, click on run and test it.
We can tap on the avatar to logout during testing.