@lightandshadow

2 Followers
44 Following
119 Posts
Technologist. Web + Mac + iOS developer. VJ. Amateur photographer.
Really a sign of our times how the promise of "this product will receive software updates while you own it!" has turned into a threat https://www.reddit.com/r/assholedesign/comments/1f3h5r8/my_1700_snoo_bassinet_now_requires_a_premium/
@dimillian You might want to watch Apple “Demystify and eliminate hitches in the render phase” video from wwdc23
Well, that explains it: “In visionOS, device-motion data is available only when your app has an open immersive space.” https://developer.apple.com/documentation/coremotion/getting_processed_device-motion_data
Getting processed device-motion data | Apple Developer Documentation

Retrieve motion data that the system processed to remove environmental bias, such as the effects of gravity.

Apple Developer Documentation
Have you ever pressed Cmd+R in the iOS Simulator ("Record Screen") rather than Cmd+R in Xcode ("Run"), then realize later you accidentally recorded a 20-minute video of the simulator doing nothing? Go to Settings > Keyboard > Keyboard Shortcuts > App Shortcuts and change it 👍

For Juno 1.1 I built in sliders that closely match the ones Apple use throughout visionOS, with cool expansion effects and more customizability with the height of the slider. I figured I'd open source it too and published it as JunoSlider on GitHub! 🐙🐱

https://github.com/christianselig/JunoSlider/

GitHub - christianselig/JunoSlider: A visionOS slider view to mimic Apple's expanding sliders

A visionOS slider view to mimic Apple's expanding sliders - christianselig/JunoSlider

GitHub
I'd love if the Vision Pro's battery status was available in the Battery widget on other devices to see the charge status whether I'm wearing it or not.

🎉 Announcing Perception: a backport of Swift 5.9’s @‌Observable tools for older platforms.

Still targeting iOS 13 but want to take advantage of this powerful new framework? Take a look at the library:

https://www.pointfree.co/blog/posts/129-perception-a-back-port-of-observable

Perception: A back-port of @Observable

We have back-ported Swift 5.9's observation tools to work on Apple platforms going back almost 4 years ago! Start using it today even if you cannot target iOS 17.

But as amazing as these new tools are, they are not without their pitfalls.

Next week we will show you what to be mindful of when adopting them, and what can go wrong.

Catch up before then!

This week we explore the latest observation tools in Swift: the @‌‌Observable macro. We see how it improves on nearly every aspect of @‌‌ObservedObject and @‌‌State, what it expands to, and how it works behind the scenes.

Learn more: https://www.pointfree.co/episodes/ep253-observation-the-present

Episode #253: Observation: The Present

The `@Observable` macro is here and we will see how it improves on nearly every aspect of the old tools in SwiftUI. We will also take a peek behind the curtain to not only get comfortable with the code the macro expands to, but also the actual open source code that powers the framework.

Been looking forward to finally take this for a spin.