- SwiftUI: is used to build the interface.
- Alamofire: is used to send requests and get responses.
- Core Data: is used to save the data of articles to the "Favorites" tab.
- WebKit: is used to view the web pages of the articles.
You can open the app and select the category of the articles (Most emailed, Most shared, Most viewed). Have a brief overview of articles under each category and open any article to get the full access to the content.
To add some articles to the favorites simply swipe left. To verify that your article has been added to the favorites will be a change of color of the article title to yellow. Switching between tabs of the categories will erase the yellow highlight. Your favorite articles will be available in the section "Favorites".
Make sure the section "Favorites" is open, then swipe left the added article. The article will be deleted from your "Favorites".