Skip navigation
Implemented infinite scrolling!! it was surprisingly easy 😇
0:00 / 0:25

Implemented infinite scrolling!! it was surprisingly easy 😇

Tina Debove ᯅ

@TinaDebove12K followers

Visit on X
289 likesDownloadOriginal post

48,648 views

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

10 Comments

Comments from the original post on X (Twitter)

  • Tina Debove Nigro ᯅ's profile picture

    @tina__nigro

    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

    15 likes

  • Alvin Drakes's profile picture

    @alvindrakes_

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

    3 likes

  • Tina Debove Nigro ᯅ's profile picture

    @tina__nigro

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

    5 likes

  • Nexus 👾's profile picture

    @NexusLabsGG

    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!

    201 likes

  • Tina Debove Nigro ᯅ's profile picture

    @tina__nigro

    I can hear the voice in my head 😁

  • Dan H's profile picture

    @__dnth

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

    1 like

  • Tina Debove Nigro ᯅ's profile picture

    @tina__nigro

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

    1 like

  • Loïc Delmaire's profile picture

    @skelz0r

    > 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 ?

    1 like

  • Tina Debove Nigro ᯅ's profile picture

    @tina__nigro

    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.

    6 likes

  • Alexander K.'s profile picture

    @ol_dsn

    No 3d previews?