Kyle Ye
@KyleSwifter
Followers
2K
Following
522
Media
236
Statuses
901
Swift programmer / SDWG member / Darwin platform hacker Options are my own. Follow me for learning SwiftUI internal details. https://t.co/DvuIoVvRqi
Earth
Joined December 2018
OpenSwiftUI next release preview: A new way to render to your app AppKit backed vs ??
4
2
64
Tip: you can also run RuntimeViewer on iOS or inject the dylib to any app you want to analyze. 🥳 Cheers for such amazing project.
RuntimeViewer beta latest version has been released, with full integration of SwiftInterface module (thanks to Runtime, we can obtain field offsets for non-generic structs/classes). Code injection can now inject arm64e applications (e.g. System App) https://t.co/ughysmiFIZ
0
11
179
OpenSwiftUI 0.12.0 release: - Add Xcode 26 SDK support - Add EnvManager support in Package.swift - Add Group/RepeatAnimation/View.alignmentGuide API support - Fixed various miscellaneous bug See full release notes in https://t.co/nlAmnpeVch
#OSUI
OSUI 0.11.0 release: - Added ForEach support - Various fixes and improvements Big thanks to @_silgen_name and @dark_existed for their contributions 🙌 Release notes: https://t.co/UWvDglt4Hz
1
7
99
It can have more Instrument data to analyze if you enable kdebug for SwiftUI. See detail on
0
5
106
_renderForTest on HostingView lets us precisely control SwiftUI animations for testing. It’s already powering OSUI’s UI tests — thinking of releasing it as a Swift package if there’s interest. #OSUI
4
5
63
Also to note, if you can't reproduce the issue with a small Swift package. It is probably you forgot to specify platform. It will only cause issue if the target >= (iOS 13/macOS 10.15). By default it use $(arch)-apple-macos10.13 for Xcode 26.
0
0
3
When adapting OSUI for Xcode 26, I just found a lot of symbol conflicted with SUI. It turns out the root cause is OSUICore -> OSUI_SPI (C module) -> AppKit -> SUICore (conflict). Surprised that use #include <AppKit/AppKit.h> in one of my header will cause SUICore get imported.
3
1
49
How the default view style behavior differently on different environment(List/Form/Column)? The secret is StaticIf + StyleContext. By adding style context type information, the SUI engine can made a good decision on which style to use when building the tree before evaluate body.
0
1
34
OSUI 0.11.0 release: - Added ForEach support - Various fixes and improvements Big thanks to @_silgen_name and @dark_existed for their contributions 🙌 Release notes: https://t.co/UWvDglt4Hz
OSUI 0.10.0 release: - StateObject/ObservedObject/EnvironmentObject support - Documentation migration See full release notes here https://t.co/DdwlGjAERK
0
1
57
Swift on Android is becoming real! We’ve started working on bringing OpenSwiftUI to Android — contributions are welcome! Check for issues labeled "platform: Android" eg.
github.com
Compile on Android successfully locally using the official Android Swift SDK. Since we already compiles fine on Linux platform. The step should be easy to support Add CI pipeline support
3
19
208
Found a subtle C++ issue in dyld that wastes 2KB on the binary. In short, static const in headers = multiple copies of identical data = binary bloat Deep dive into the issue, solutions, and why it matters in this article ⬇️ https://t.co/2KkODCVlJc
A sad story is that the latest AvailabilityVersions-155 still does not got its availability.dsl updated. So the open source dyld can't identify the latest OS(<dyld/VersionMap.h> and sVersionMap is outdated). Apple just stops updating the file since iOS 17.3 release somehow.
1
0
8
But such information still exists on the OS's dyld binary. So I maintain a fork to fix the missing versions. See more information on my fork. https://t.co/6WsQuBFdKZ
github.com
Contribute to OpenSwiftUIProject/AvailabilityVersions development by creating an account on GitHub.
1
0
5
A sad story is that the latest AvailabilityVersions-155 still does not got its availability.dsl updated. So the open source dyld can't identify the latest OS(<dyld/VersionMap.h> and sVersionMap is outdated). Apple just stops updating the file since iOS 17.3 release somehow.
NEW macOS 26.0 🥫🍝 sauce! 🎉 xnu: https://t.co/d1DjJsStqx dyld: https://t.co/iKYiWSpxcV objc4: https://t.co/Kvp9wWc8lU Security: https://t.co/IqmyOIcvsE Libsystem: https://t.co/JflpfJ49II Libc: https://t.co/eLTMJ2n2tJ - this post was generated by `ipsw` 🤖
2
0
5
After a week of work, ForEach is now supported in OSUI! It’s been the most complex part so far. I’ve also written some docs — feel free to give it a try if you’re interested. #OSUI
1
1
16
This is by far the fastest turnaround I’ve ever seen for a bug I reported to Apple. Usually, fixes take several releases — or sometimes never got noticed. It’s truly impressive that this one went from report to fix and release in less than a month.
0
0
9