- Open
NY_Times.xcodeproj
in Xcode - Build and run!
No dependences required.
- MVC Design Pattern
- Class with Single Responsibility
- Caching Images
HomeViewController.swift
- initial scene with NewsFeedsDetailController.swift
- scene contains detailed News
- Data model with the information we want to show in the app.
- Result.swift
- Media.swift
MediaMetadata.swift
- RootClass.swift
NY_TimesTests.swift
- Unit test class with simple DataModel initializationTest. Note - For this scope only one testcase written more Testcase can be done by mocking urlsession with protocols
Code Coverage enabled in Xcode and Investigated in report navigator Note - Third party libraries can be used to generate reports