aviel
banner
avielg.bsky.social
aviel
@avielg.bsky.social
SwiftUI at Meta • http://swiftui.wtf • Philly
I just go straight to Apple Store for a new MacBook when doing that
December 15, 2024 at 6:19 PM
Yea I like that domain 😆 stems from a lot of confusion when I got started with swiftui
December 8, 2024 at 10:08 PM
Amazing! Curious where you found it?
December 8, 2024 at 12:54 AM
Death by a 1000 cuts 😏
December 8, 2024 at 12:54 AM
Is there any perf difference between the two?
December 7, 2024 at 11:31 PM
Shameless plug check out swiftui.wtf 😀
swiftui.wtf
December 7, 2024 at 9:32 PM
True if RN ever wants to become a sui wrapper instead UIKit wrapper (which I don’t think it should), but for simple “entry point” you can just make an RN component that takes a sui view and handles the UIHostingController bridging and that’s about it no?
December 7, 2024 at 6:15 PM
Sounds like the same issue CK had… the solution they went with is to write a wrapper of CK with syntax almost identical to SUI to make fb engineers happy, but it’s like Xamarin/Osmeta so it still doesn’t solve interop with actual sui (eg like Charts or Widgets which are sui native)
December 7, 2024 at 6:12 PM
Are there any blockers or just not implemented? On the surface it seems like SUI is actually a much more natural fit for RN declarative style than UIKit
December 7, 2024 at 5:34 PM
Oh interesting I had no idea RN has significant outside contributions!
December 7, 2024 at 5:05 PM
Oh this is niceeeee
December 7, 2024 at 3:41 AM
Oh rewatching the the vid I see it’s a standalone app and quite different. Was it built in house and open sourced or outside by the community? I always felt like some things (gql, react) are fully embraced and enhanced by the community while RN still felt like “meta’s baby” that others just use?
December 7, 2024 at 3:37 AM
Is this basically exported from Flipper/Sonar?
December 7, 2024 at 3:31 AM
Hi me too! 😀
December 5, 2024 at 2:35 AM
LazyVStack is lazy but doesn’t recycle the views. Once they are created - they stay and aren’t reused.
List can’t create view on the fly (ie make them lazy) if the view size is ambiguous (size being number is resolved views, not point size)
This ww covers it:
developer.apple.com/videos/play/...
Demystify SwiftUI performance - WWDC23 - Videos - Apple Developer
Learn how you can build a mental model for performance in SwiftUI and write faster, more efficient code. We'll share some of the common...
developer.apple.com
November 17, 2024 at 2:31 AM
AL does the layout on main thread, and it doesn’t scale for very large/complex apps. I honestly don’t know if SwiftUI is doing layout on main (i think it does actually) but it must be more optimized than AL. IIUC it’s kinda like web’s flexbox model
November 17, 2024 at 2:25 AM