-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md
34 lines (24 loc) · 1.01 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
![sample](https://user-images.githubusercontent.com/59039044/126834515-b53a8a5d-7ba6-47e6-b32c-6aaee0b77221.png)
# News-Plus
App that display online news from GNews API
# What Did I Learn
1. Load JSON data into UICollectionView.
2. Download image from url and load into UICollectionView
3. Apply Apple Safari Services framework to allows user open selected news in the app from url.
4. Secured API Key with XCconfig from being stolen
5. Develop reusable network manager with URLSession for retrieve API data
6. Customize error message with enum
7. Use Result<> type to remove optionals ambiguity
8. Apply @escaping clousure that will execute after network request complete
9. Debugging with XCode breakpoints
10. Unit Test Networking & CollectionView delegates
## Frameworks
- Foundation
- UIKit
- URLSession
- SafariServices
- XCTest
## Future Updates
- Retrieve more news with infinite/pagination
- Offline news reader
https://user-images.githubusercontent.com/59039044/128592009-ed9d7b4a-b954-4e9e-87c3-d50ecf6fe37c.mp4