In this course, we will build a Full macOS News App using SwiftUI 3 that fetches latest news from newsapi.org. We'll use native macOS APIs such as Menu Bar Command, Touchbar, Preferences Window, Share Picker, Context Menu, Preferences Window. #swiftui #macOS #wwdc
Here are the main features of the News App we'll build:
1. Fetch news based on categories: general, business, science, technology, health, entertainment, sports
2. Bookmark articles so it can be persisted even when the app restarts.
3. Share article using native macOS Share Service Picker.
4. Search news based on the search query you type on the search bar.
5. Recent search history list.
6. Suggestion search list.
7. Custom Menu Bar Command to refresh News and toggle sidebar
8. Settings/Preferences Window
9. Right Click Context Menu
10. Touchbar menu navigation
Requirement:
Xcode 13 Beta 5 (or the new Xcode 13.x release when macOS 12 stable is released in Fall 2021)
macOS 12 Monterrey
Timeline:
00:00 Introduction & What we will build demo
03:09 Add & Configure macOS Target
07:42 Shared Source Files & Target Memberships
12:01 Sidebar Master Detail Navigation on macOS
25:42 Toggle Sidebar Menu Command, Keyboard Shortcut, & Toolbar Button
33:26 News Detail View iOS migration to macOS
46:38 Article Grid List macOS Styling
56:05 Bookmark Detail View iOS migration to macOS
50:46 Share Menu with NSSharePicker
1:04:16 Context Menu Right Click
1:10:00 Refresh Menu Bar Command, Keyboard Shortcut, & Toolbar Button
1:21:11 Touchbar Menu Navigation
1:24:40 Settings/Preferences Window
1:31:37 Searchable Sidebar List on macOS
1:48:31 Closing
Complete Project GitHub Repository:
https://github.com/alfianlosari/NewsA...
Part 1 - Build an iOS News App with SwiftUI 3 & NewsAPI:
• SwiftUI 3 Tutorial - Build an iOS 15 ...
Part 2 - Add iPadOS UX Adaptivity to an iOS News App with SwiftUI 3:
• Add iPadOS 15 UX Adaptivity to an iOS...