←
Kyle Ye1,384 posts
Kyle Ye avatar

Kyle Ye

@KyleSwifter

Swift programmer / previous SDWG member / Darwin platform hacker Options are my own. Follow me for learning SwiftUI internal details. github.com/Kyle-Ye

◷ Joined December 2018▧ 403 Photos and videos
Kyle Ye avatar
Kyle Ye@KyleSwifter·Nov 1

OpenSwiftUI 0.25.0 is out 🎉 - Stepper, plus updated Slider and Link styles - SF Symbols effects and content transitions - Linear, radial, elliptical and angular gradients - macOS fixes for resizable windows github.com/OpenSwiftUIProjec… #OpenSwiftUI #OSUI

Post attachment

OpenSwiftUI 0.24.0 is out 🎉 - Label / Button / Toggle and corresponding styles - Blend modes and compositing groups - DragGesture and PanGesture - visionOS CI with binary builds - PreviewProvider and refined Previews macro imp github.com/OpenSwiftUIProjec…

Post attachment
Kyle Ye avatar
Kyle Ye@KyleSwifter·Oct 21

👻 Scary news right before bed: my new $249.99 Claude account just got banned again. 🪦 Survived only about 10 days.

Post attachment
Kyle Ye avatar
Kyle Ye@KyleSwifter·Oct 21

SwiftUI’s point-cloud hit testing can send a tap to the larger target—even when you tap inside the smaller one. With disablePointCloud, the smaller target wins here. Coming soon to LookInside: see these hit-testing decisions visually. 👀

Post attachmentPost attachment

LookInside 3.0 is here! 🎉 We've rewritten the Mac app in Swift and added SwiftUI gesture debugging: • Visualize hit regions • Inspect responders & gestures • Spot undersized tap targets github.com/LookInsideApp/Loo…

Post attachmentPost attachment
0:26
Kyle Ye avatar
Kyle Ye@KyleSwifter·Oct 21

Android and iOS gif version ⬇️

0:08
0:04
Kyle Ye avatar
Kyle Ye@KyleSwifter·Oct 21

Just use OpenSwiftUI to port my old "Kinetic Studio" SwiftUI Demo (Test shape animation) to more platforms without a single code change beside changing import SwiftUI to OpenSwiftUI. The screenshots below is OpenSwiftUI on Android, iOS and macOS respectively.

Post attachmentPost attachmentPost attachment
Kyle Ye avatar
Kyle Ye@KyleSwifter·Oct 20

We used to support both AG and OAG/IAG in OpenSwiftUI. As AppKit and UIKit uses more SwiftUI internally, use AG will bring more risks/crashes for OSUI since SUI and OSUI has different graph namespace. SwiftUI rule → AppKit → SwiftUI environment namespace A namespace A OK OpenSwiftUI rule → AppKit → SwiftUI environment namespace B namespace A Crash The fix is simple, just wrap with Graph.withUpdate to cut off AG's UpdateStack.

Post attachmentPost attachment
Kyle Ye avatar
Kyle Ye@KyleSwifter·Oct 20

OpenSwiftUI + TimelineView animation demo on macOS & iOS & Android. The video is recorded with a modified version of @JiaxuLiDev 's Framing tool.

Post attachment
0:12
Kyle Ye avatar
Kyle Ye@KyleSwifter·Oct 18

I'm currently working on making the SwiftUI-2048 game cross-platform. If you have other SwiftUI app desired to be ported, please DM me.

Kyle Ye avatar
Kyle Ye@KyleSwifter·Oct 18

Started to port OpenSwiftUI with more backends(SDL) and more platforms(Android & Linux). Since most platform (WASM excluded) OpenSwiftUI supports just shared with the same architecture(DisplayList + AG graph), you can use your favorite API on every platform. eg. _printChanges() for debugging and TimelineView for time based animation.

Post attachmentPost attachmentPost attachment