Unwrap
swift-evolution
Our great sponsors
Unwrap | swift-evolution | |
---|---|---|
87 | 124 | |
2,268 | 15,003 | |
- | 0.8% | |
0.0 | 9.7 | |
4 months ago | 6 days ago | |
Swift | Markdown | |
GNU General Public License v3.0 or later | 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.
Unwrap
-
Ask HN: What Are You Learning?
Happy too! So my main resource is Hacking With Swift (https://www.hackingwithswift.com), specifically the 100 days of SwiftUI Course. It takes you over Swift and SwiftUI. I've paired this with the official Swift site (https://www.swift.org) so I can dig into the language more, and Apple Documentation where appropriate to get used to using the tools.
In terms of finding it, it was a bit of a shot in the dark. I did some poking around and this popped up the most, specifically because I was looking for iOS specific materials. I'm sure if you want to make cross platform apps there's probably a whole host of great resources!
-
SwiftUI - Row of Buttons Acting As One
Thanks to Paul Hudson at Hacking With Swift, I recently learned that what I thought was a bug in SwiftUI is actually a feature. Paul says in one of his 100 Days of SwiftUI videos - which I highly highly recommend for anyone wanting to learn Swift and/or SwiftUI - even the most experienced iOS developers are often gobsmacked by this quirk of the code. I knew right away what he was talking about - I had encountered it myself, turned in a feedback report to Apple, and found a work-around. But according to Paul, it's not a bug, it's a feature! He encourages his viewers to spread the word, so that's what I'm doing.
-
Ask HN: Good Resources to Learn iOS Development
The two I can think off of the top of my head are Paul Hudson's web site https://www.hackingwithswift.com and the old Ray Wenderlich site which is now called Kodeco https://www.kodeco.com/home.
Another good resource is Standford's CS193p - Developing Applications for iOS using SwiftUI which is online at https://cs193p.sites.stanford.edu.
Should be more than enough to get started.
-
Where to Learn MacOS Development - everything is about iOS - how did you learn?
Paul Hudson is pretty good at not forgetting the Mac: Hacking With Swift but TBH things are pretty similar, sometimes you need to replace UI... with NS... and import another framework but if you have something in mind to build for the Mac just start doing it, the rest will come.
-
Hacking with Swift - Day 0
Hacking with Swift website has a lot of resources (https://www.hackingwithswift.com
-
Ask HN: Advice on Starting a YouTube Channel?
disclaimer: no channel, just an observer
Is YouTube the only medium you're considering?
For business, my understanding is that people now find success mainly though multi-channel and upgrade channels, so you would have some shorts/tic-toks, substack, instagram, twitter, ... (Which suggests some IDE support for the various artifacts being repurposed...) The goal seems to be to convert ~0.5% of the free folks to the $200 upsell: the batch of books, the online course (esp. if constantly updated). See e.g., Kat Norton, https://www.hackingwithswift.com, ...
While my personal preference runs to no-fluff-just-stuff, success seems to lie in motivating people with each step, with curiosity and enthusiasm, in part because that targets people who want to do X, but find themselves blocked (in part from frustration, loneliness, ...). It's probably a lot easier to unblock people who are just confused and frustrated, than to give focused people real insight. It may be more valuable as well, to lift all boats.
-
📣 Apollo will close down on June 30th. Reddit’s recent decisions and actions have unfortunately made it impossible for Apollo to continue. Thank you so, so much for all the support over the years. ❤️
Anything Paul Hudson (https://www.hackingwithswift.com)
-
Job offered to pay me to learn Swift as the only iOS developer. What's an ideal route for me to take to learn?
Hacking with Swift. is free and comprehensive.
- Recommendations to learn iOS app development?
-
IOS DEVELOPMENT
Check out Hacking With Swift it’s what I used to get started
swift-evolution
-
Byte-Sized Swift: Building Tiny Games for the Playdate
[A Vision for Embedded Swift](https://github.com/apple/swift-evolution/blob/main/visions/e...) has the details on this new build mode and is quite interesting.
> Effectively, there will be two bottom layers of Swift, and the lower one, “non-allocating” Embedded Swift, will necessarily be a more restricted compilation mode (e.g. classes will be disallowed as they fundamentally require heap allocations) and likely to be used only in very specialized use cases. “Allocating” Embedded Swift should allow classes and other language facilities that rely on the heap (e.g. indirect enums).
Also, this seems to maybe hint at the Swift runtime eventually being reimplemented in non-allocating Embedded Swift rather than the C++ (?) that it uses now:
> The Swift runtime APIs will be provided as an implementation that’s optimized for small codesize and will be available as a static library in the toolchain for common CPU architectures. Interestingly, it’s possible to write that implementation in “non-allocating” Baremetal Swift.
-
Borrow Checking Without Lifetimes
I may be out of my depth here as I've only casually used Rust, but this seems similar to Swift's proposed lifetime dependencies[1]. They're not in the type system formally so maybe they're closer to poloneius work
[1]: https://github.com/apple/swift-evolution/blob/3055becc53a3c3...
-
Functional Ownership Through Fractional Uniqueness
Swift recently adopted a region-based approach for safe concurrency that builds on Milano et al’s ideas: https://github.com/apple/swift-evolution/blob/main/proposals...
- Swift-evolution/proposals/0373-vars-without-limits-in-result-builders.md
- The Swift proposal that removed the ++ and –- operators (2017)
-
Crafting Self-Evident Code with D
No, it's not. Refcounting CAN be a garbage collection algorithm, but in Swift it's deterministic and done at compile time. Not to mention recently added support for non-copyable types that enforces unique ownership: https://github.com/apple/swift-evolution/blob/main/proposals...
- Statically link Swift runtime libraries by default on supported platforms
- (5.9) What is the point of a SerialExecutor that can silently re-order jobs?
-
Mac shipments grow 10%, as all major PC brands see downturns.
You can stackallocate buffers with unsafe Swift but it's not exactly fun to use. https://github.com/apple/swift-evolution/blob/main/proposals/0322-temporary-buffers.md
-
Can someone explain how Task really works in terms of threads (I couldnt ask all the questions with the swift team today)?
If the docs do not suffice, read the concurrency proposals of Swift Evolution. The authors describe the semantics in a very detailed way there.
What are some alternatives?
swift-corelibs-foundation - The Foundation Project, providing core utilities, internationalization, and OS independence
compose-multiplatform - Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
ios-oss - Kickstarter for iOS. Bring new ideas to life, anywhere.
foundationdb - FoundationDB - the open source, distributed, transactional key-value store
Publish - A static site generator for Swift developers
kotlinx-datetime - KotlinX multiplatform date/time library
SwiftShield - đź”’ Swift Obfuscator that protects iOS apps against reverse engineering attacks.
okio - A modern I/O library for Android, Java, and Kotlin Multiplatform.
ACHNBrowserUI - Animal Crossing New Horizon companion app in SwiftUI
PeopleInSpace - Kotlin Multiplatform project with SwiftUI, Jetpack Compose, Compose for Wear, Compose for Desktop, Compose for Web and Kotlin/JS + React clients along with Ktor backend.
BreadBuddy - Recipe scheduler for iOS
swift-algorithms - Commonly used sequence and collection algorithms for Swift