carson-katri / Reddit Swiftui
Licence: mit
A cross-platform Reddit client built in SwiftUI
Stars: ✭ 967
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Reddit Swiftui
Reddit Pgn To Gif
Converts PGN from /r/chess into gifs hosted on imgur and leaves a reddit comment
Stars: ✭ 16 (-98.35%)
Mutual labels: reddit
Ios Cmake
A CMake toolchain file for iOS, macOS, watchOS & tvOS C/C++/Obj-C++ development
Stars: ✭ 844 (-12.72%)
Mutual labels: watchos
Redditsfinder
Archive a reddit user's post history. Formatted overview of a profile, JSON containing every post, and picture downloads. Uses the pushshift API.
Stars: ✭ 28 (-97.1%)
Mutual labels: reddit
Difference
Simple way to identify what is different between 2 instances of any type. Must have for TDD.
Stars: ✭ 837 (-13.44%)
Mutual labels: watchos
Queuer
Queuer is a queue manager, built on top of OperationQueue and Dispatch (aka GCD).
Stars: ✭ 964 (-0.31%)
Mutual labels: watchos
Sdwebimageswiftui
SwiftUI Image loading and Animation framework powered by SDWebImage
Stars: ✭ 844 (-12.72%)
Mutual labels: watchos
Swiftui Animation Library
SwiftUI Animation Library. Useful SwiftUI animations including Loading/progress, Looping, On-off, Enter, Exit, Fade, Spin and Background animations that you can directly implement in your next iOS application or project. The library also contains huge examples of spring animations such as Inertial Bounce, Shake, Twirl, Jelly, Jiggle, Rubber Band, Kitchen Sink and Wobble effects. Browse, find and download the animation that fits your needs.
Stars: ✭ 898 (-7.14%)
Mutual labels: watchos
Apprepositorytemplate
The easiest way to start a new application project without any manual configuration
Stars: ✭ 24 (-97.52%)
Mutual labels: watchos
Ios Icon Generator
This script is use to generate iOS/macOS/watchOS app icons more easier.
Stars: ✭ 878 (-9.2%)
Mutual labels: watchos
Xcconfigs
Collection of common Xcode configuration files. 🛠
Stars: ✭ 28 (-97.1%)
Mutual labels: watchos
Lift
Lift is a Swift library for generating and extracting values into and out of JSON-like data structures.
Stars: ✭ 33 (-96.59%)
Mutual labels: watchos
Windows Theme
Repository for Windows 10 community subreddit stylesheet and its assets.
Stars: ✭ 29 (-97%)
Mutual labels: reddit
Reddit Twitter Bot
Subreddit bot to upload newest image posts to a Twitter feed
Stars: ✭ 14 (-98.55%)
Mutual labels: reddit
A cross-platform Reddit client created 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 aViews
andRepresentable
folder.Views
holds platform-specific views, andRepresentable
containsUIViewRepresentables
orNSViewRepresentables
.
macOS Specific Features
I've added several things to make the macOS app stand out:
- Double click - You can double click on a post to open a new window for the detail view.
-
NSToolbar
- This is implemented entirely in theAppDelegate
, and uses standard Cocoa code which interfaces with the SwiftUI views. -
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].