Giter Site home page Giter Site logo

onews's Introduction

ONews

ONews is a simple iOS application, it retrieves news from free API [newsapi.org] and display it for the user, and allow the user to view article details and save it for later. In the first launch, User choose language and country, then he will be allowed to select 3 categories as preferences. Finally, The user can continue to the application and discover news and App. Features.

Using newsapi.org

Don't Forget To Install Pods

pod install

Used In The APP

  • SWIFT
  • Alamofire-based Network Layer
  • VIPER Architecture Pattern, Using VIPER Module Generator
  • Coordinator Pattern For Handling Navigation
  • Delegation Pattern For Communication between Module entities
  • Kingfisher For Images Downloading and Caching
  • XIB Files
  • Localization [English, Arabic]
  • Realm For Caching Preferred Articles using [Generic Realm Manager]
  • UserDefaults for Storing simple data using [Generic UserDefaults Manager]
  • Adobe XD For Designing The UI

TODO:-

  • Code Refactoring
  • Use Repository Pattern
  • Dark Mode Support
  • Unit Tests
  • Enhance UI/UX

Screenshots

English Version

Launch Screen Select Language Select Country Select Preferences
Home Article Details Saved News Search

Arabic Version

Launch Screen Select Language Select Country Select Preferences
Home Article Details Saved News Search

App Structure:

  • App

    • Localizables
    • Configuration
    • Core
    • Extensions
    • Resources
      • Fonts
    • SupportingFiles
      • UIComponents
      • Common
    • Externals
      • Coordinator
      • Networking
      • DataPersistence
        • Realm Manager
        • UserDefaults Manager
  • Modules

    • Onboarding [Select Language and Country]
      • Protocols
      • View
      • Interactor
      • Presenter
      • Router
    • Onboarding [Select Preferences]
      • Protocols
      • View
      • Interactor
      • Presenter
      • Entity
      • Router
    • Home
      • Protocols
      • View
      • Interactor
      • Presenter
      • Entity
      • Router
    • ArticleDetails
      • Protocols
      • View
      • Interactor
      • Presenter
      • Entity
      • Router
    • Saved
      • Protocols
      • View
      • Interactor
      • Presenter
      • Router

Authors:

Created by

Please don't hesitate to ask any clarifying questions about the project if you have any.

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.