Skip to content

News App πŸ“± built to demonstrate the use of SwiftUI 3 features, Async/Await, CoreData and MVVM architecture pattern.

License

Notifications You must be signed in to change notification settings

sameersyd/BoxFeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHub Cards Preview

Box Feed

News App πŸ“± built to demonstrate the use of following features,

  • SwiftUI 3
    • Async/Await
    • AsyncImage
    • List
      • Refreshable
      • Swipe Actions
      • Separator
  • Core Data
  • MVVM Architecture Pattern

Made with love ❀️ by Sameer Nawaz


Preview

Home Article Bookmarks

Note

Once you clone the repo,

  • Add your own API key from News API in AppConfig file
  • Checkout your current plan. The News API has limit for developer plan on dates query and content chars

Built With πŸ› 

  • SwiftUI - SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift.
  • CoreData - Framework used to manage the model layer objects in the application.
  • Figma - Figma is a vector graphics editor and prototyping tool which is primarily web-based.

Project Structure

BoxFeed # Target
|
β”œβ”€β”€ Resources
|
β”œβ”€β”€ Library
|   β”œβ”€β”€ CoreData            # CoreData ManagedObject
|   β”œβ”€β”€ Helpers             # All extension functions + CustomViews
|   β”œβ”€β”€ Models              # Decodable models
|   β”œβ”€β”€ Services            # NewsService
|
β”œβ”€β”€ Screens
|   |
|   β”œβ”€β”€ view
|   β”‚   β”œβ”€β”€ main                    # Main root folder
|   |   β”‚   β”œβ”€β”€ view                # SwiftUI MainView
|   |   β”‚   └── viewmodel           # ViewModel for MainView
|   β”‚   β”œβ”€β”€ Home                    # Home root folder
|   |   |   |__ Home                # Home
|   β”‚   β”œβ”€β”€ Article                 # Article root folder
|   |   |   |__ Article             # Article
|   β”‚   β”œβ”€β”€ Bookmarks               # Bookmarks root folder
|   |   |   |__ Bookmarks           # Bookmarks
|

Contribute

If you want to contribute to this app, you're always welcome! See Contributing Guidelines.


Donation

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


Buy Me A Coffee

License

    Apache 2.0 License


    Copyright 2021 Sameer Nawaz

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.