Giter VIP home page Giter VIP logo

news-app's Introduction

News app

News app

PET project: news app


About

In this lab, I am asked to create an application that will, using the API, load news headlines and show them as a list. Tap on the news from the list to go to view the full information on the selected news.

Basic requirements

  • The application must be written in Swift. Without using SwiftUI. Without using third-party libraries/hearths.
  • For UI, you can use XIB and layout code, it is not recommended to use Storyboard.
  • The minimum supported version of the app is iOS 14.
  • Upload no more than 20 news items at a time.
  • Provide for the possibility of updating the news list.
  • Each cell should display:
    • title,
    • picture,
  • number of content views (transitions to the news details screen).
  • When you click on each news item, a new screen should open and show its brief contents:
    • title,
    • picture,
  • description,
    • date of publication,
    • source of the publication,
    • clickable link to the full text of the news.
  • The full text of the news should be opened using WebKit.
  • News data (title, summary, link to the full version, etc.) and the view counter must be cached in some way.
  • Cached data is displayed before sending a data update request.
  • Cached data is available even after restarting the application.

What can be improved

  • Page-by-page loading of all available news with an endless feed (pagination of 20 news).
  • Update the news list using the pull-to-refresh gesture.
  • Exception handling. For example, the lack of an Internet connection.

Installation

  1. Clone the repo via git clone command
https://github.com/MustafaNatur/News-app.git
  1. Open in Xcode
open NewsAppTFS.xcodeproj

news-app's People

Contributors

mustafanatur avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.