Rupert  Beatty

Rupert Beatty

1666285080

RedditOS: A SwiftUI Reddit Client for MacOS

RedditOS

A SwiftUI Reddit client for macOS

About

This project is about two things:

  1. Building a good Reddit client.
  2. Building a good macOS application using mostly SwiftUI.

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.

Dev environment

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.

Image

Download Details:

Author: Dimillian
Source Code: https://github.com/Dimillian/RedditOS 
License: Apache-2.0 license

#swift #macos #reddit #swiftui 

What is GEEK

Buddha Community

RedditOS: A SwiftUI Reddit Client for MacOS
Rupert  Beatty

Rupert Beatty

1666285080

RedditOS: A SwiftUI Reddit Client for MacOS

RedditOS

A SwiftUI Reddit client for macOS

About

This project is about two things:

  1. Building a good Reddit client.
  2. Building a good macOS application using mostly SwiftUI.

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.

Dev environment

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.

Image

Download Details:

Author: Dimillian
Source Code: https://github.com/Dimillian/RedditOS 
License: Apache-2.0 license

#swift #macos #reddit #swiftui 

 iOS App Dev

iOS App Dev

1653980820

Reddit Swiftui: A Cross-platform Reddit Client Built in SwiftUI

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.

Project Structure

  • 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.

macOS Specific Features

I've added several things to make the macOS app stand out:

  1. Double click - You can double click on a post to open a new window for the detail view.
  2. NSToolbar - This is implemented entirely in the AppDelegate, and uses standard Cocoa code which interfaces with the SwiftUI views.
  3. TouchBar - TODO

SF Symbols

Because 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

#swift #swiftui  #ios  #mobileapp #reddit 

SwiftUI Cloud App UI - Adaptable For Both iOS & macOS - Complex UI - SwiftUI Tutorials

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

SwiftUI Popovers in Menu Bar for macOS - Menu Bar Apps For macOS - SwiftUI Tutorials

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

Elliot  Bayer

Elliot Bayer

1633805040

How to Build macOS App in SwiftUI and Xcode 12 For Beginner

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.

#swift  #macos  #swiftui #ios