BoxFeed
News App š± built to demonstrate the use of SwiftUI 3 features, Async/Await, CoreData and MVVM architecture pattern.
Install / Use
/learn @sameersyd/BoxFeedREADME

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
<br />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
|
<br />
Contribute
If you want to contribute to this app, you're always welcome! See Contributing Guidelines.
<br />Donation
If this project helped you reduce time to develop, you can buy me a cup of coffee :)
<br /><a href="https://www.buymeacoffee.com/sameersyd" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
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.
