Pinned Tweet
Watch my WWDC session to learn how to easily adopt Swift concurrency in your app with new Swift 6.2 features🤩 #WWDC25
developer.apple.com/videos/p…
Sima Nerush retweeted
A prompt for native app builders.
Go through all my unit tests and identify tests or assertions matching the following:
* realitically relies on the UI frameworks, and the assertion would break if the framework behavior changes, and there'd be no actionable step to fix it other than updating the test again?
* renders the UI but in reality it's asserting on results of a value being rendered, therefore should be replaced by headless tests on the alue being correctly delivered?
* restates constants, prompt strings, table rows in the app logic?
* repeats logic from app's implementation, then assert on the output of said logic with no calls to the actual app code?
Sima Nerush retweeted
What a great day!! We were BLOWN AWAY by the quality of projects people built in 3 hours at Bitrig Hacks! And a massive thank you to our judges, @simanerush @AriX @yumaSoerianto @davemorin @bradflora @lllucas
Sima Nerush retweeted
New for Apple developers: Foundation Models support for Claude lets developers use Apple's Foundation Models framework to call Claude for multi-step reasoning, code generation, and longer context.
If you missed it, the recording of today's SwiftUI Group Lab is now available on YouTube:
youtube.com/live/7g-Xg5xiH4o
Sima Nerush retweeted
So many great questions in the #WWDC SwiftUI group lab this morning! There’s one more tomorrow evening that you won’t want to miss. Bring your questions, or just watch to learn a ton of interesting stuff. developer.apple.com/videos/p…
Tomorrow at 9am, come join us for the SwiftUI Group Lab! We’re looking forward to answering your questions!
developer.apple.com/videos/p…
Sima Nerush retweeted
SwiftUI’s new type-checking enhancements (`@ContentBuilder`) and lazy `@State` are the culmination of literally years of careful effort behind the scenes to solve some of the biggest everyday pain points in SwiftUI development.
At this point, there are millions of lines of SwiftUI result builder and state code shipping in production. With these changes, every one of those lines of code will suddenly compile differently, improving both compilation and runtime performance, and most developers *will never even notice*.
That doesn’t normally happen. Maintaining binary, source, and backwards compatibility across releases imposes strict limitations on how SDK APIs can evolve. If you think of a better way to compile some library DSL syntax after shipping it publicly, you’re usually out of luck.
These enhancements were only possible because of dedicated engineers on the Swift and SwiftUI teams working closely together, sweating the subtlest of details, and persevering through countless dead-end experiments and fraught internal deployments.
Their reward? That future developers will *not* see some type-check error or performance hitch, and will *never* have to know that it ever worked any differently.
But that’s wonderful. We love it. The joy is in the doing.
Thank you @slazarus, @daniel_duan, @hollyborla, Pavel Yaskevich, and others from the Swift and SwiftUI teams for getting these enhancements over the finish line! (I’m no longer at Apple but can’t help but brag about these talented people 👏🏻)
Sima Nerush retweeted
> Maintaining binary, source, and backwards compatibility across releases imposes strict limitations on how SDK APIs can evolve.
You can learn more about how we achieved this while making @.State lazy here: xitter.cf/i/status/2064195688469…
SwiftUI’s new type-checking enhancements (`@ContentBuilder`) and lazy `@State` are the culmination of literally years of careful effort behind the scenes to solve some of the biggest everyday pain points in SwiftUI development.
At this point, there are millions of lines of SwiftUI result builder and state code shipping in production. With these changes, every one of those lines of code will suddenly compile differently, improving both compilation and runtime performance, and most developers *will never even notice*.
That doesn’t normally happen. Maintaining binary, source, and backwards compatibility across releases imposes strict limitations on how SDK APIs can evolve. If you think of a better way to compile some library DSL syntax after shipping it publicly, you’re usually out of luck.
These enhancements were only possible because of dedicated engineers on the Swift and SwiftUI teams working closely together, sweating the subtlest of details, and persevering through countless dead-end experiments and fraught internal deployments.
Their reward? That future developers will *not* see some type-check error or performance hitch, and will *never* have to know that it ever worked any differently.
But that’s wonderful. We love it. The joy is in the doing.
Thank you @slazarus, @daniel_duan, @hollyborla, Pavel Yaskevich, and others from the Swift and SwiftUI teams for getting these enhancements over the finish line! (I’m no longer at Apple but can’t help but brag about these talented people 👏🏻)
This is a great tip for diagnosing and improving the performance of ForEach!
Perf tip: In SwiftUI's lazy containers (List, LazyVStack) each ForEach element should return a constant number of views. An AnyView or if inside the closure (0 or 1 views) hits a slow path.
Fix: filter your data upfront. Debug: -LogForEachSlowPath YES
🔗 developer.apple.com/document…
The recording of SwiftUI for Beginners Group Lab is now available on YouTube!
Go check it out in case you missed it: youtube.com/watch?v=IbNHuOt5…
Tune in to the SwiftUI Beginner Group Lab tomorrow!
Sign up here: developer.apple.com/videos/p…
I'll be answering questions along with my lovely colleagues in the SwiftUI Beginner Group Lab bright and early tomorrow morning. Highly recommend stopping by, we've got a stellar panel lined up for ya!
developer.apple.com/forums/d…
Sima Nerush retweeted
A great behind-the-scenes improvement is ContentBuilder – which has been a massive undertaking – and delivers meaningful improvements to type checking performance.
Excited to tell you about what’s new in SwiftUI at 2pm! #WWDC developer.apple.com/videos/p…































