GithubHelp home page GithubHelp logo

alexeyvoronov96 / newsapp-with-swiftui-and-combine Goto Github PK

View Code? Open in Web Editor NEW
461.0 13.0 51.0 21.58 MB

Used: SwiftUI and Combine

License: MIT License

Swift 100.00%
swiftui combine swift rest-api swiftui-demo swiftui-example

newsapp-with-swiftui-and-combine's Introduction

NewsApp

CodeFactor codebeat badge GitHub license

Used: New Apple frameworks SwiftUI and Combine

Installation:

1. Get your News API key
2. Get your Weather API key
3. Insert your keys into Container.swift file
4. Run app

Overview tab

OverviewTab ActionsWithArticles

Sources tab

SourcesTab

Search for articles tab

SearchForArticlesTab

Favorites tab

FavoritesTab

Current weather tab

CurrentWeatherTab

WebView

WebView

newsapp-with-swiftui-and-combine's People

Contributors

alexeyvoronov96 avatar mhh-azam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

newsapp-with-swiftui-and-combine's Issues

App Crash when open web view

App crashes when open any article in web view.

To Reproduce
Steps to reproduce the behavior:

  1. Go to category
  2. Click on any article
  3. App crashes - found nil while unwrapping optional
  4. See error

Expected behavior
Should open article url in safari web browser.

Smartphone:

  • Device: iPhone 11
  • OS: iOS 15.5
  • Browser: Safari

Additional context
It is crashing at 3 places when articleUrl is forced unwrapped for SafariView, In ArticlesFromSourceView.swift, ArticlesList.swift, FavoritesView.swift files.

Switch from Dark Sky to OpenWeather Map

I use this app on my personal device and love it but as you might know, Dark Sky will be shutting down their API. It would be great if you could switch to using OpenWeather Map or another service.

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.