1666285080
A SwiftUI Reddit client for macOS
This project is about two things:
You'll need the latest version of Xcode 12 and macOS Big Sur to build it and enjoyt it. You can also download a pre built version in the release section if you don't want to build it youself.
I'm planning to drop Big Sur in the near future to focus execlusively on SwiftUI 3 + macOS Monterey. SwiftUI 3 add a ton of features, polish and performance improvements that this application can't live without.
If you want to login with your Reddit account building the project from the source you'll need to create a file secrets.plist
in Packages/Backend/Sources/Backend/Resources
with your Reddit app id as client_id
key/value. Create an reddit app here and use redditos://auth
as redirect url.
Author: Dimillian
Source Code: https://github.com/Dimillian/RedditOS
License: Apache-2.0 license
#swift #macos #reddit #swiftui
1666285080
A SwiftUI Reddit client for macOS
This project is about two things:
You'll need the latest version of Xcode 12 and macOS Big Sur to build it and enjoyt it. You can also download a pre built version in the release section if you don't want to build it youself.
I'm planning to drop Big Sur in the near future to focus execlusively on SwiftUI 3 + macOS Monterey. SwiftUI 3 add a ton of features, polish and performance improvements that this application can't live without.
If you want to login with your Reddit account building the project from the source you'll need to create a file secrets.plist
in Packages/Backend/Sources/Backend/Resources
with your Reddit app id as client_id
key/value. Create an reddit app here and use redditos://auth
as redirect url.
Author: Dimillian
Source Code: https://github.com/Dimillian/RedditOS
License: Apache-2.0 license
1653980820
Note: This project is far from complete. It still lacks many features of your typical Reddit client and has bugs (partly due to SwiftUI, but I'll take credit for some of them)
To show off SwiftUI's strength in cross-platform development, I did not use Mac Catalyst for this project. Instead, common UI code is shared between iOS, macOS, and watchOS.
Shared
- Models, helpers, API, and any shared Views.Reddit-[PLATFORM]
- Each target folder contains a Views
and Representable
folder. Views
holds platform-specific views, and Representable
contains UIViewRepresentables
or NSViewRepresentables
.I've added several things to make the macOS app stand out:
NSToolbar
- This is implemented entirely in the AppDelegate
, and uses standard Cocoa code which interfaces with the SwiftUI views.TouchBar
- TODOBecause macOS doesn't support SF Symbols, I have created the following extension to make sure shared code works. I would like to replace this with custom icons for macOS that it loads from XCAssets
eventually:
/// `SwiftUI` compatibility
#if os(macOS)
extension Image {
init(systemName: String) {
self.init(nsImage: NSImage())
}
}
#endif
Download Details:
Author: carson-katri
Source Code: https://github.com/carson-katri/reddit-swiftui
License: MIT license
1625488380
Hello Guys 🖐🖐🖐🖐
In this Video I’m going to show how to create a adaptable Cloud App UI for Both iOS & macOS Using SwiftUI | SwiftUI Cloud App UI | SwiftUI macOS App Development | SwiftUI Mac Catalyst Apps | SwiftUI Complex UI | SwiftUI Mac App | SwiftUI Custom Side Bar Menu | SwiftUI Hamburger Menu | SwiftUI Slide Out Menu | Xcode SwiftUI.
► Source Code: https://www.patreon.com/posts/early-access-app-52186632
► Support Us
Patreon : https://www.patreon.com/kavsoft
Contributions : https://donorbox.org/kavsoft
Or By Visiting the Link Given Below:
► Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. It’s gives a great experience and I think you should give it a try too https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=kavsoft&utm_content=description-only
► My MacBook Specs
M1 MacBook Pro(16GB)
Xcode Version: 12.5
macOS Version: 11.4 Big Sur
► Official Website: https://kavsoft.dev
For Any Queries: https://kavsoft.dev/#contact
► Social Platforms
Instagram: https://www.instagram.com/_kavsoft/
Twitter: https://twitter.com/_Kavsoft
► Timestamps
0:00 Intro
0:42 Building Side Bar Menu
7:54 Building Main Content View
20:32 Building Side View
23:37 Adapting App For iOS
Thanks for watching
Make sure to like and Subscribe For More Content !!!
#swiftui #complex ui #swiftui #ios & macos
1625510220
Hello Guys 🖐🖐🖐🖐
In this Video I’m going to show how to create Popovers in Menu Bar Apps For macOS Using SwiftUI | SwiftUI Menu Bar Apps | SwiftUI Menu Bar for macOS | SwiftUI macOS Popovers | SwiftUI macOS Tutorials | SwiftUI macOS Menu Bar | SwiftUI Popovers in Menu Bar | SwiftUI macOS StatusBar Button | Xcode 12 SwiftUI.
► Source Code: https://www.patreon.com/posts/early-access-in-51848639
► Support Us
Patreon : https://www.patreon.com/kavsoft
Contributions : https://donorbox.org/kavsoft
Or By Visiting the Link Given Below:
► Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. It’s gives a great experience and I think you should give it a try too https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=kavsoft&utm_content=description-only
► My MacBook Specs
M1 MacBook Pro(16GB)
Xcode Version: 12.5
macOS Version: 11.4 Big Sur
► Official Website: https://kavsoft.dev
For Any Queries: https://kavsoft.dev/#contact
► Social Platforms
Instagram: https://www.instagram.com/_kavsoft/
Twitter: https://twitter.com/_Kavsoft
► Timestamps
0:00 Intro
0:18 Building Menu Bar View
5:19 Building Popover
Thanks for watching
Make sure to like and Subscribe For More Content !!!
#swiftui #macos
1633805040
In this video we will build our very first macOS app with SwiftUI. We'll understand the semantics of navigation, side bars, and more. We will work with SwiftUI 2 and Xcode 12.