Загрузка видео...
Не удалось загрузить видео
Implemented infinite scrolling!! it was surprisingly easy 😇 With Unity it would have been super difficult, like more than a week of work. Been there done that ... Now it's down to a few lines of code. Great for app developers! Also reworked the sidebar using grouping 😊 #visionOS
48,643 просмотров • 3 лет назад •via X (Twitter)
Комментарии: 10

sorry for the lag in the video, I have like a hundred tabs in Arc, three Xcode instances, and a handful of other apps, PLUS the visionOS emulator. I'm always surprised by how much power the MBP has

You mean SwiftUI is the way to go for VisionOS instead of Unity?

If you build an app with more « app UI » than 3D yes. If your app has more 3D than UI, probably go with Unity.

Nexus combines CMC’s market insights with Zerion and Debank’s wallet tracking—all in one easy-to-use dashboard. Simplify your crypto journey today, completely free 🚀 Try it now!

I can hear the voice in my head 😁

Super interested to see what this is like to navigate with the device.

The Emulator is really useful. Even when we’ll have our hands on the device, I think I’ll keep using the emulator often.

> With Unity it would have been super difficult, like more than a week of work. wow slry ? I'm surprised that it's so hard to do, is it because Unity is too generic ?

In unity there's no proper way to do the UI. If you want to use a file picker, you have to build one yourself. A file picker is a rectangle with items inside displayed as a vertical grid, with back and forth navigation between folders. You'll have to build all of this, starting with how to display a rounded rectangle... Good luck with that. You have to use a texture and 9-nine scaling 😂 Also there's no proper way to display text in Unity. There's the old way to do it, which sucks, and the new-ish way to do it, which sucks too when working on UI that can be rendered at a small scale because of issues in the SDF shader. Unity only provides a scroll viewer, but doesn't recycle the game objects inside. If you have lots of items, you hurt your performance. So you then have to build your items recycler, which is a pain in itself. etc etc. I could go on and on. All of this for an ugly result obviously.. But imagine having to build UI with basically nothing to start with, and with terrible iteration times. This is a screenshot of a WWDC23 about Unity. I mean... compare any video of SwiftUI in visionOS, and this.

No 3d previews?


