NYT News

iOS app displaying New York Times top stories.

Features

  • Shows articles from various sections of New York Times top stories.
  • Open each article as a web page (I couldn’t find article detail API so I show the news url as a web page instead).
  • Navigate between articles by swiping.
  • Save article as favorite.
  • Caching on article list and images.
    Simulator Screen Shot - iPhone 13 - 2022-01-14 at 14 40 29
    Simulator Screen Shot - iPhone 13 - 2022-01-14 at 14 40 59
    Simulator Screen Shot - iPhone 13 - 2022-01-14 at 14 41 51

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Software required to run this project:

  • Xcode 13

Installing

  • Open NYT News.xcodeproj on your local machine using Xcode
  • Click the Run button on Xcode
  • The iOS simulator will be opened and automatically run the app

Tests

Currently we have one test target:

  • Unit Tests

    Examines single path of our codes through a method or function.

Deployment

Will be added later.

Built With

Apple frameworks:

  • Swift 5 – A clean and modern programming language from Apple.
  • SwiftUI – Declare the user interface and behavior for your app on every platform..

Networking

  • SDWebImage – Asynchronous image downloader with cache support as a UIImageView category.

User Interface

Testing

  • Mocker – Mock Alamofire and URLSession requests without touching your code implementation.

Contributing

Please fork the repo instead of pushing the code directly.
Thank you for your contribution ?

Versioning

For the versions available, see the tags on this repository.

GitHub

View Github