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
Home | Article | Bookmarks |
---|---|---|
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
- 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.
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
|
If you want to contribute to this app, you're always welcome! See Contributing Guidelines.
If this project helped you reduce time to develop, you can buy me a cup of coffee :)
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.