BoxFeed
所属分类:前端开发
开发工具:Swift
文件大小:2429KB
下载次数:0
上传日期:2021-10-25 01:00:21
上 传 者:
sh-1993
说明: 新闻应用程序旨在演示SwiftUI3功能、Async Await、CoreData和MVVM架构模式的使用。
(News App built to demonstrate the use of SwiftUI 3 features, Async Await, CoreData and MVVM architecture pattern.)
文件列表:
.DS_Store (6148, 2021-10-25)
BoxFeed.xcodeproj (0, 2021-10-25)
BoxFeed.xcodeproj\project.pbxproj (25764, 2021-10-25)
BoxFeed.xcodeproj\project.xcworkspace (0, 2021-10-25)
BoxFeed.xcodeproj\project.xcworkspace\contents.xcworkspacedata (135, 2021-10-25)
BoxFeed.xcodeproj\project.xcworkspace\xcshareddata (0, 2021-10-25)
BoxFeed.xcodeproj\project.xcworkspace\xcshareddata\IDEWorkspaceChecks.plist (238, 2021-10-25)
BoxFeed.xcodeproj\project.xcworkspace\xcuserdata (0, 2021-10-25)
BoxFeed.xcodeproj\project.xcworkspace\xcuserdata\sameernawaz.xcuserdatad (0, 2021-10-25)
BoxFeed.xcodeproj\project.xcworkspace\xcuserdata\sameernawaz.xcuserdatad\UserInterfaceState.xcuserstate (60524, 2021-10-25)
BoxFeed.xcodeproj\xcuserdata (0, 2021-10-25)
BoxFeed.xcodeproj\xcuserdata\sameernawaz.xcuserdatad (0, 2021-10-25)
BoxFeed.xcodeproj\xcuserdata\sameernawaz.xcuserdatad\xcdebugger (0, 2021-10-25)
BoxFeed.xcodeproj\xcuserdata\sameernawaz.xcuserdatad\xcdebugger\Breakpoints_v2.xcbkptlist (140, 2021-10-25)
BoxFeed.xcodeproj\xcuserdata\sameernawaz.xcuserdatad\xcschemes (0, 2021-10-25)
BoxFeed.xcodeproj\xcuserdata\sameernawaz.xcuserdatad\xcschemes\xcschememanagement.plist (342, 2021-10-25)
BoxFeed (0, 2021-10-25)
BoxFeed\.DS_Store (6148, 2021-10-25)
BoxFeed\Assets.xcassets (0, 2021-10-25)
BoxFeed\Assets.xcassets\AccentColor.colorset (0, 2021-10-25)
BoxFeed\Assets.xcassets\AccentColor.colorset\Contents.json (123, 2021-10-25)
BoxFeed\Assets.xcassets\AppIcon.appiconset (0, 2021-10-25)
BoxFeed\Assets.xcassets\AppIcon.appiconset\Contents.json (1591, 2021-10-25)
BoxFeed\Assets.xcassets\Contents.json (63, 2021-10-25)
BoxFeed\Assets.xcassets\article.imageset (0, 2021-10-25)
BoxFeed\Assets.xcassets\article.imageset\Contents.json (373, 2021-10-25)
BoxFeed\Assets.xcassets\article.imageset\Frame.png (1230, 2021-10-25)
BoxFeed\Assets.xcassets\article.imageset\Frame@2x.png (2687, 2021-10-25)
BoxFeed\Assets.xcassets\article.imageset\Frame@3x.png (4054, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark-filled.imageset (0, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark-filled.imageset\Contents.json (379, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark-filled.imageset\Frame 2.png (968, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark-filled.imageset\Frame 2@2x.png (1968, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark-filled.imageset\Frame 2@3x.png (3129, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark.imageset (0, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark.imageset\Contents.json (379, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark.imageset\Frame 2.png (1437, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark.imageset\Frame 2@2x.png (2815, 2021-10-25)
BoxFeed\Assets.xcassets\bookmark.imageset\Frame 2@3x.png (4326, 2021-10-25)
... ...
![GitHub Cards Preview](https://github.com/sameersyd/BoxFeed/blob/main/art/cover.png?raw=true)
# 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](https://github.com/sameersyd)*
## Preview
Home | Article | Bookmarks
--- | --- | ---
![](https://github.com/sameersyd/BoxFeed/blob/main/art/home.png) | ![](https://github.com/sameersyd/BoxFeed/blob/main/art/article.png) | ![](https://github.com/sameersyd/BoxFeed/blob/main/art/bookmarks.png)
## Note
Once you clone the repo,
- Add your own API key from [News API](https://newsapi.org) in [AppConfig file](https://github.com/sameersyd/BoxFeed/blob/5b05***1c0b476b7bd6c190134aa563e17143c933/BoxFeed/Config.swift#L16)
- Checkout your current plan. The [News API](https://newsapi.org) has limit for developer plan on dates query and content chars
## Built With
- [SwiftUI](https://developer.apple.com/documentation/swiftui/) - SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift.
- [CoreData](https://developer.apple.com/documentation/coredata) - Framework used to manage the model layer objects in the application.
- [Figma](https://figma.com/) - 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](https://github.com/sameersyd/BoxFeed/blob/main/CONTRIBUTION.md).
## Donation
If this project helped you reduce time to develop, you can buy me a cup of 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.
```
近期下载者:
相关文件:
收藏者: