All Projects โ†’ TheCodeMonks โ†’ NYTimes-iOS

TheCodeMonks / NYTimes-iOS

Licence: MIT License
๐Ÿ—ฝ NY Times is an Minimal News ๐Ÿ—ž iOS app ๐Ÿ“ฑ built to describe the use of SwiftSoup and CoreData with SwiftUI๐Ÿ”ฅ

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to NYTimes-iOS

LongWeekend-iOS
๐Ÿ–๐Ÿ“ฑ LongWeekend is iOS Application that supports checking long weekends when taking a vacation in Japan
Stars: โœญ 19 (-87.5%)
Mutual labels:  ios-app, combine, swiftui, swift5
Clean Architecture Swiftui
SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
Stars: โœญ 2,925 (+1824.34%)
Mutual labels:  coredata, mvvm-architecture, swiftui, swiftui-example
SwiftUI-App
This swiftUI Demo is very simple & easy to understand. This swiftUI demo includes On-boarding screens, login screen, forgot password screen, sign up screen, home & logout.
Stars: โœญ 175 (+15.13%)
Mutual labels:  swiftui, swift5, swiftui-example, swiftui-learning
Swiftui Tutorials
A code example and translation project of SwiftUI. / ไธ€ไธช SwiftUI ็š„็คบไพ‹ใ€็ฟป่ฏ‘็š„ๆ•™็จ‹้กน็›ฎใ€‚
Stars: โœญ 1,992 (+1210.53%)
Mutual labels:  ios-app, combine, swiftui, swiftui-example
Tasky
Tasky is a task management app made with SwiftUI.
Stars: โœญ 22 (-85.53%)
Mutual labels:  ios-app, swiftui, swiftui-example, swiftui-learning
SwiftUIDemo
A demo app showing you how to build a table view and navigation interface with SwiftUI
Stars: โœญ 26 (-82.89%)
Mutual labels:  swiftui, swift5, swiftui-example
JewelCase
This is the source code for JewelCase, a sample app demonstrating how to use SwiftUI and Firebase together. This slide deck discusses the architecture of the app: https://www.slideshare.net/peterfriese/building-swiftui-apps-with-firebase
Stars: โœญ 42 (-72.37%)
Mutual labels:  combine, swiftui, swift5
Project01-C-User-Event-Collector
๐Ÿ’œ๐ŸŽท ๋„ค์ด๋ฒ„ VIBE ์‚ฌ์šฉ์ž ์ด๋ฒคํŠธ ์ˆ˜์ง‘๊ธฐ ๐ŸŽท๐Ÿ’œ
Stars: โœญ 21 (-86.18%)
Mutual labels:  coredata, combine, swiftui
CombineUnsplash
A sample project exploring MVVM pattern with SwiftUI/Combine, using Unsplash API (via Picsum.photos API)
Stars: โœญ 25 (-83.55%)
Mutual labels:  combine, swiftui, swiftui-example
Shift
Light-weight EventKit wrapper.
Stars: โœญ 31 (-79.61%)
Mutual labels:  combine, swiftui, swift5
Kriptofolio
Free open source minimalistic cryptocurrencies portfolio app for Android.
Stars: โœญ 79 (-48.03%)
Mutual labels:  dependency-injection, viewmodel, mvvm-architecture
Upcomingmovies
Movies app written in Swift 5 using the TMDb API and demonstrating Clean Architecture, Dependency Injection, MVVM and Coordinators.
Stars: โœญ 160 (+5.26%)
Mutual labels:  dependency-injection, coredata, ios-app
Social Note
Social Note - Note-taking, sharing, time & location reminder
Stars: โœญ 38 (-75%)
Mutual labels:  dependency-injection, viewmodel, mvvm-architecture
BoxFeed
News App ๐Ÿ“ฑ built to demonstrate the use of SwiftUI 3 features, Async/Await, CoreData and MVVM architecture pattern.
Stars: โœญ 112 (-26.32%)
Mutual labels:  coredata, mvvm-architecture, swiftui
Kodein Mvvm
Example app using Kodein for dependency injection with MVVM and Architecture Components
Stars: โœญ 26 (-82.89%)
Mutual labels:  dependency-injection, viewmodel, mvvm-architecture
TVToday
iOS TV Shows app with TMDb Api. RxSwift, MVVM, Clean Architecture. Tuist + Swift Package Manager
Stars: โœญ 27 (-82.24%)
Mutual labels:  dependency-injection, ios-app, swift5
Wiggles-iOS
Beautiful Puppy adoption app built to Demonstrate the SwiftUI and MVVM Architecture
Stars: โœญ 174 (+14.47%)
Mutual labels:  ios-app, mvvm-architecture, swiftui
swiftui-mapkit
SwiftUI meets MapKit
Stars: โœญ 17 (-88.82%)
Mutual labels:  combine, swiftui, swiftui-example
iOS-SwiftUI-Firebase-Login-Example
Complete Sign up and Sign in Process for iOS SwiftUI - using Firebase Email and Password Authentication.
Stars: โœญ 37 (-75.66%)
Mutual labels:  swiftui, swift5, swiftui-example
Expenso Ios
A Simple Expense Tracker App built to demonstrate the use of SwiftUI, CoreData, Charts, Biometrics (Face & Touch ID) and MVVM Architecture.
Stars: โœญ 191 (+25.66%)
Mutual labels:  coredata, ios-app, mvvm-architecture

SwiftUI Architecture License: MIT GitHub forks GitHub Stars GitHub Watchers

Twitter URL Twitter Follow

NYTimes

NY Times is an Minimal News ๐Ÿ—ž iOS application built to describe the use of SwiftSoup and CoreData with SwiftUI.

โ›“ Features

Articles Loading Browse by Category
Bookmark a Article using 3D Touch. Deleting bookmarks is just one swipe away

๐Ÿ“ Table of Contents

โš™๏ธ Requirements

iOS 14+
Xcode 12.2 and Up

๐Ÿ“š What you can learn?

  • You can learn Technologies like
    • SwiftUI
    • CoreData
    • Combine
    • Web Scraping
  • You can learn various Design patterns from this project such as
    • Dependency injection
    • Repository
    • Singleton
    • Observers
  • You can learn MVVM Two way binding Architecture for SwiftUI with Combine framework

๐Ÿ›  Technical Background

  • NYTimes App was made using SwiftUI as the Core interface with Two Way Binding MVVM Architecture using Combine framework.
  • CoreData is used to store the Article Bookmarks offline in device so that the user can access it at later time.
  • SwiftSoup is used to scrap the required details from the NYTimes website.
  • The User interface of this app mostly uses the inbuilt iOS components to keep the User experience close to the native feel.
  • Bookmarks can be added as easy as a 3d-touch from Homescreen or a tap in bookmark icon in the detailed article screen.
  • This project was built in the mindset of modularity and good coding patterns. Multiple design patterns like Dependency injection, Repository pattern, Singleton Pattern etc.

๐Ÿ”— Dependencies

This project uses SPM (Swift Package Manager) as Dependency manager.

โ›“ Project Structure

NYTimes                 # Root Group
.
โ”œโ”€โ”€ Utilities           # Utilities for Fetching data ans Scraping HTML
โ”œโ”€โ”€ Extensions          # Some useful extensions
โ”œโ”€โ”€ Globals             # Contains App constants
โ”œโ”€โ”€ Persistence         # Coredata files. Contains coredata model and Singleton for ManagedObjectContext
โ”œโ”€โ”€ Views               # SwiftUI Views
โ”œโ”€โ”€ Repository          # Repository for Coredata
โ”œโ”€โ”€ ViewModel           # Viewmodels for SwiftUI Views
โ”œโ”€โ”€ Model               # Model files
|   โ””โ”€โ”€ Coredata Model  # Coredata model subclasses
|
โ””โ”€โ”€ Supporting files    # Misc. files like Appdelegate, SceneDelegate.

Architecture

This app uses MVVM architecture.

MVVM

โœ๏ธ Contribute

If you want to contribute to this library, you're always welcome!

What you can do

You can contribute us by filing issues, bugs and PRs.

Before you do

Before you open a issue or report a bug, please check if the issue or bug is related to Xcode or SwiftUI.

Contributing guidelines:

  • Open issue regarding proposed change.
  • Repo owner will contact you there.
  • If your proposed change is approved, Fork this repo and do changes.
  • Open PR against latest dev branch. Add nice description in PR.
  • You're done!

โ˜•๏ธ Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

๐Ÿ“ฑ Contact

Have an project? DM us at ๐Ÿ‘‡

Drop a mail to:- [email protected]

โš–๏ธ License

MIT License

Copyright (c) 2020 TheCodeMonks

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].