NimbleSurvey
Getting Started
- Install Xcode.
- Install CocoaPod.
- Clone this repository.
- Open the
NimbleSurvey.xcworkspace
.
Project structure
Architecture: MVVM
Network layer: Moya
Reactive framework: RxSwift
Project structure
1) View Controllers folder
To store all ViewControllers
2) View Models folder
To store all ViewModels
3) View folder
To store all custom Views such as UITableViewCell, etc.
4) Service folder
To store all services (e.g: Network service)
5) Helpers folder
To store all helpers and extensions
Testing
Framework used:
- Cuckoo (Mocking framework)
- Nimble (express the expectation framework)
Install
- Modified the generate.sh script to instruct the Cuckoo run
- Add relative path of the swift file for mocking
- Execute
./generate
to overwrite the GeneratedMock.swift
Checklist
- Programming language: Swift is required, Objective-C is optional.
- Design app's architecture (recommend VIPER or MVP, MVVM but not mandatory)
- UI should be looks like in attachment.
- WriteUnitTests
- Exceptionhandling
Copyright
© 2020 Vanalite. All Rights Reserved.