This is the news app for code test challenge.
This app is fully built with RxSwift + MVVM.
You need to add a key.plist file in order to run the app and add apiKey
as key and you api key as value
Get your api key from https://newsapi.org
Tests covered all business logic (viewModel
class).
Services class are not tested because not much logic inside and don't want to test apple's code.
- use
Swinject
to do dependency injection to avoid passing dependency everywhere. - use
Yogakit
or some other UI framwork to avoid using tidious autolayout code. - use
moya
to make api call easier and more testable. - include some generic type for
NewsResponse
object.