swiftui-router
swift
swiftui-router | swift | |
---|---|---|
2 | 226 | |
948 | 68,461 | |
0.9% | 0.5% | |
2.1 | 10.0 | |
6 months ago | 1 day ago | |
Swift | C++ | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swiftui-router
-
How can I access that navigation history stack on a NavigationView?
It’s kind of hard in native SwiftUI, but this might help: https://github.com/frzi/SwiftUIRouter
-
SwiftUI and Generics: A learning barrier?
The magic is definitely weird. The base views with Body == Never are what get me, they feel impossible to replicate. There's like a few projects around navigation in SwiftUI like SwiftUI Router (Federica Zanetello had this cool blog post on using NavigationLink) but yeah navigation is very magical too. I honestly wish Apple would open up the SwiftUI framework a little, there are efforts to recreate Combine in an open source way, but SwiftUI seems tougher. This early on in SwiftUI it's super frustrating to wait between WWDCs for updates and fixes.
swift
- Constantly Divisionless Random Numbers
- The Next Chapter in Swift Build Technologies
-
The Mobile Development Tech Stack for 2025
Swift Official Website
- macOS Sequoia is certified to Unix 03
-
Swift Deployments: Are they Swift or Recklessly Rushed?
When it comes to the Swift programming language, the Swiftlang/Swift repository is like a code factory that never sleeps, churning out updates with the kind of precision that would make any developer jealous.
-
Learning Swift: The Basics of iOS Development
Open Source: Swift is open source, meaning it's free to use and has a growing community. You can find the source code, as well as many resources and discussions on Swift.org.
-
Apple didn't fix Swift's biggest flaw
Yes, I've never written a line of Swift, but these cases don't seem to be of the usual variety that cause Hindley-Milner to blow up. It seems like the Swift compiler source is available, and these test cases are small. This is encouragement for someone to spend a small amount of time digging into this, just for the curiosity of it. I'll give you my next upvote on HN when you write up your results.
https://static.aminer.org/pdf/20170130/pdfs/popl/o8rbwxmj6h2...
https://github.com/apple/swift
-
Optimizing 128-bit Division (2020)
Lenore’s approach uses rejection sampling, which translates to needing an uncertain amount of input — a uint128 may or may not be enough.
But there is one related algorithm that doesn’t: https://github.com/apple/swift/pull/39143. This method only requires (output word size + 64) bits, which is really convenient for us since we probably don’t have 2^64 buckets.
With this method the output value will be very not-scrambled relative to the high bits of the hash. Now whether that’s a problem is… someone else’s question.
-
Swift's native Clocks are inefficient
https://github.com/apple/swift/pull/73429
-
Evolving the Go Standard Library with math/rand/v2
This algorithm produces biased result with probability 1/2^(32-bitwidth(N)). Using 64 or 128 random bits can make the bias practically undetectable. Comprehensive overview of the approach can be found here: https://github.com/apple/swift/pull/39143
What are some alternatives?
navaid - A navigation aid (aka, router) for the browser in 850 bytes~!
solidity - Solidity, the Smart Contract Programming Language
RouteComposer - Protocol oriented, Cocoa UI abstractions based library that helps to handle view controllers composition, navigation and deep linking tasks in the iOS application. Can be used as the universal replacement for the Coordinator pattern.
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
swift-url-routing - A bidirectional router with more type safety and less fuss.
sourcekit-lsp - Language Server Protocol implementation for Swift and C-based languages