Skip to content
0:00 / 0:00

#swift#windows#winui

Build Swift Windows News App with WinSDK | WinUI | Swift-WinRT

Xcoding with Alfian

10K subscribers • 9 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

6.3K views2 years ago2 recommendations

Programming languagesTools and practiceSwiftFlutter and React Native

Alfian Losari demonstrates how to build a modern Windows news application using Swift, WinSDK, WinUI, and Swift-WinRT.

In this video, we're going to build a modern Windows App using Swift and Microsoft WinSDK, WinUI, WinRT. #swiftlang #windows #iosdevelopment Starter Project GitHub Repository: github.com/alfianlosari/windows-samples The Browser Company Windows Swift Build 20231213: github.com/thebrowsercompany/swift-build/releases/tag/202312… Visual Studio Community 2022: learn.microsoft.com/en-us/visualstudio/releases/2022/release… Visual Studio Code: code.visualstudio.com/download Completed Project GitHub Repository: github.com/alfianlosari/XCANews-Swift-WinRT API Key from NewsAPI Link: newsapi.org/ WinUI 3 Gallery App - Microsoft Store: apps.microsoft.com/detail/9P3JFPWWDZRC?hl=en-US&gl=US XCANewsSwiftUI Project GitHub Repository: github.com/alfianlosari/NewsAppSwiftUI/tree/main/8%20Add%20W… Interoperability: Swift’s Super Power Substack Article: speakinginswift.substack.com/p/interoperability-swifts-super… Swift, meet WinRT Substack Article: speakinginswift.substack.com/p/swift-meet-winrt The Browser Company Swift/WinRT GitHub Repository: github.com/thebrowsercompany/swift-winrt Microsoft WinUI Documentation: learn.microsoft.com/en-us/windows/apps/design/controls/ WinUI Glyph Unicode Points Reference: learn.microsoft.com/en-us/windows/apps/design/style/segoe-ui… Timeline: Intro, Demo, Getting Started Build, Compilling & Running Source Code Include Generated WinUI XAML Controls in CMake Architecture Overview Add Shared Models & NewsAPI from XCANewsSwiftUI AppleProject Implement Window Subclass Implement NavigationView Implement Fetch Articles from NewsAPI Implement GridView Implement Pull To Refresh Container Implement Canvas with Overlay Stack Panel for Info Text, Progress, & Refresh Button Testing all states: success, fetching, failure, empty Closing

Why it's here

2 people recommend this

What people say. Recommended as a tutorial for building native Windows applications using Swift.

u/alfianloin r/swift • Recommends

Build Swift Windows News App with WinSDK | WinUI | Swift-WinRT

u/byaruhafLearningin r/swift • Recommends

On “Current Swift Ecosystem ”

For more information about **Web Development (Backend)**, **editor support outside Xcode** and **notable non-app projects in Swift**, including insights into various tools, IDEs, and notable Swift-based libraries for server-side and systems programming, I recommend checking out Are We Server Yet?. This site provides an excellent overview of the Swift ecosystem beyond app development, including editor integrations, server-side Swift, and other non-traditional uses of the language. For frontend web development check out Steven Van Impe's talk on Swift for WebAssembly and swiftwasm.org. For game development, you can use SpriteKit and SceneKit for 2D and 3D games, respectively, on Apple plat…