visionOS 3D content in SwiftUI | Xcode | Spline

Поделиться
HTML-код
  • Опубликовано: 4 июл 2024
  • Check out Spline at spline.design/
    In this video I walk you through building a basic visionOS app that has 3D content in a Window, Volume and Immersive Space. I show you various ways to get 3D content and how you can edit and combine assets in Spline to make them your own before exporting them to SwiftUI code to use in Xcode and your visionOS apps.
    Spline is a no-code workflow to create 3D content for the Apple Ecosystem. It's an easy way to get 3D content into your iOS, iPadOS, macOS and visionOS apps by exporting SwiftUI code you can copy and paste into Xcode.
    Spline's metal-based renderer takes advantage of all the graphics acceleration on Apple devices to maintain the best performance.
    Learning to work with 3D designs will be important for iOS developers moving forward into the world of spatial computing on the Apple Vision Pro.
    Spline Keynote Video:
    • Spline Event - Unfoldi...
    Build an iOS 3D Onboard Screen with Spline:
    • 3D Content in iOS & vi...
    Join the Spline community:
    Instagram: / splinetool
    Twitter / X : / splinetool
    TikTok: / splinedesign
    Discord Community: / discord
    Discover, remix and showcase 3D creations #MadeInSpline at community.spline.design/
    My iOS Dev Courses:
    seanallen.teachable.com/
    My Source Code:
    seanallen.teachable.com/p/sou...
    X (Twitter):
    Sean Allen - / seanallen_dev
    Hired.com:
    hired.com/x/1n01g
    Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
    Mark Moeyken’s SwiftUI Books:
    www.bigmountainstudio.com/a/f...
    Paul Hudson's Hacking With Swift:
    gumroad.com/a/762098803
    RocketSim - Enhance Your Xcode Simulator:
    gumroad.com/a/51797971/ftvbh
    Objc.io Books (Thinking in SwiftUI & Advanced Swift):
    gumroad.com/a/656585843
    Timestamps:
    0:00 - What we’ll build
    1:03 - What is Spline?
    1:43 - Ways to get 3D content
    3:56 - Also for iOS, iPadOS & macOS
    4:17 - Editing a 3D character in Spline
    5:54 - Editing a 3D scene for an Immersive Space
    9:29 - Spline Mirror - Preview designs on Apple Vision Pro
    10:51 - Export & create Xcode project
    11:39 - Export 3D character for a Window
    12:16 - SwiftUI code for Window
    13:54 - Install SplineRunTime Package
    14:44 - Export 3D character for Volume
    15:19 - SwiftUI code for Volume
    19:27 - Export 3D scene for Immersive Space
    19:41 - SwiftUI code for Immersive Space
    24:17 - Our app running on Apple Vision Pro device
    #swift #softwaredeveloper #iosdeveloper
  • НаукаНаука

Комментарии • 36

  • @seanallen
    @seanallen  3 месяца назад

    Check out Spline at spline.design

  • @alejmc
    @alejmc 3 месяца назад +1

    I’m mind blown by this video and the Spline app (that came out of left field to me!)
    You guys are making it look so easy… this has been inspiring, motivating and all in between.

    • @seanallen
      @seanallen  3 месяца назад +1

      Hope you have as much fun building with it as I do

  • @robotman011
    @robotman011 3 месяца назад +1

    This is a pretty good resource. I was dealing with this exact issue lol. I like coding, not 3D modeling. So I will be hoping that Spline is my solution!

    • @seanallen
      @seanallen  3 месяца назад

      That's exactly what it's aimed to do. Let me know how you like it.

  • @brianclear363
    @brianclear363 3 месяца назад +2

    love spline. i think it will be a great bridge between swift devs who cant get reality kit to look great or doo much and unity devs that only make games and unity's lack of interaction between swift/ios and and the unity runtime.
    It does need more apis to interact with the model. To change variables from swift and trigger events link animations. But their dev team seem to have a great roadmap.
    I wonder in the meantime can you interact with the model using realitykit hierarchy. Do you need to export it as obj then import it to RealityKit Composer and see if the nodes are named easily.

    • @seanallen
      @seanallen  3 месяца назад

      I agree completely. It's a great way for iOS devs to get into 3D design without the need to learn a heavy tool like Unity. Hopefully we'll see Spline get better and better as they progress through their roadmap.

  • @Meekismwisdom
    @Meekismwisdom 2 месяца назад

    Hey Sean! What app is that at 3:38 ? great tutorial

  • @harold_davis
    @harold_davis 3 месяца назад +1

    Fire!

    • @seanallen
      @seanallen  3 месяца назад

      Glad you liked it!

  • @JasonMitchellAZ
    @JasonMitchellAZ 3 месяца назад +1

    Super cool!
    Can't wait to try this out... after I do the several updates I need to do on my current app! 😆😬

    • @seanallen
      @seanallen  3 месяца назад +1

      Get those updates done!

    • @JasonMitchellAZ
      @JasonMitchellAZ 3 месяца назад +1

      @@seanallen working on it 😉

  • @tacojohnellenich
    @tacojohnellenich 3 месяца назад +1

    Animation support can't come soon enough!

    • @seanallen
      @seanallen  3 месяца назад

      Agreed! visionOS and very new but I'm excited to see how these products evolve. That's why I'm playing around and learning this 3D design stuff now.

  • @kyle-roche
    @kyle-roche 3 месяца назад +2

    It’ll be great when they release event support

    • @seanallen
      @seanallen  3 месяца назад

      Agreed. The roadmap looks promising.

    • @splinetool
      @splinetool 3 месяца назад +1

      Hi! Events are already supported (although not all events are supported yet). We will continue working on it.

  • @nivleckone9106
    @nivleckone9106 3 месяца назад +1

    I wanted to get started developing for the visionOS but I need to buy a Mac with apple silicon, which one would you recommend?

    • @seanallen
      @seanallen  3 месяца назад

      The highest spec you can afford. I know that's vague, but it's the truth.

  • @alexsafayan7684
    @alexsafayan7684 3 месяца назад +1

    Great video! What shortcut did you use to convert the `content` parameter to a closure at 16:02?

    • @alexsafayan7684
      @alexsafayan7684 3 месяца назад +1

      For future reference: enter

    • @seanallen
      @seanallen  3 месяца назад

      Haha, yup. Glad you figured it out :)

  • @chuchoonce
    @chuchoonce 2 месяца назад

    Do you consider a MacBook Pro M3 Pro 18GB RAM / 512 SSD enough for visionOS?

  • @user-pt8uy2fq8m
    @user-pt8uy2fq8m 2 месяца назад

    Do I need to have mac os in order to use swift UI?

  • @ParthKanani555
    @ParthKanani555 3 месяца назад

    How is the scope of iOS app development in 2025 or future?

    • @seanallen
      @seanallen  3 месяца назад +1

      Here's my philosophy. When you become an iOS developer and learn Swift you are tying your career to Apple. If you think Apple has a future then it's a good bet.

  • @obvinpro
    @obvinpro 3 месяца назад

    Vision platform will not take off but glasses will with hologram kinda interface not 3D

    • @seanallen
      @seanallen  3 месяца назад

      Over the years Apple Vision Pro will get lighter and thinner (maybe even in a glasses form factor). I think the platform is here to stay

  • @SchoolBads
    @SchoolBads 3 месяца назад

    Unfortunately immersive space doesn't work

    • @seanallen
      @seanallen  3 месяца назад

      Can you elaborate? I mention in the video some of the pre-existing assets in the library aren't compatible with visionOS (yet... they are working on it). Are you using the same assets I am?

    • @SchoolBads
      @SchoolBads 3 месяца назад

      @@seanallen yes, I literally just copied the url from your video

    • @seanallen
      @seanallen  3 месяца назад

      Hmmm... tough to say without seeing your code. I just pulled it up in Xcode and it worked. What error are you getting?