visionOS 3D content in SwiftUI | Xcode | Spline
Вставка
- Опубліковано 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 - Наука та технологія
Check out Spline at spline.design
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.
Hope you have as much fun building with it as I do
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!
That's exactly what it's aimed to do. Let me know how you like it.
Fire!
Glad you liked it!
It’ll be great when they release event support
Agreed. The roadmap looks promising.
Hi! Events are already supported (although not all events are supported yet). We will continue working on it.
Animation support can't come soon enough!
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.
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.
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.
Super cool!
Can't wait to try this out... after I do the several updates I need to do on my current app! 😆😬
Get those updates done!
@@seanallen working on it 😉
Hey Sean! What app is that at 3:38 ? great tutorial
I wanted to get started developing for the visionOS but I need to buy a Mac with apple silicon, which one would you recommend?
The highest spec you can afford. I know that's vague, but it's the truth.
Great video! What shortcut did you use to convert the `content` parameter to a closure at 16:02?
For future reference: enter
Haha, yup. Glad you figured it out :)
Do you consider a MacBook Pro M3 Pro 18GB RAM / 512 SSD enough for visionOS?
Do I need to have mac os in order to use swift UI?
You can't run xcode on windows
How is the scope of iOS app development in 2025 or future?
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.
Vision platform will not take off but glasses will with hologram kinda interface not 3D
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
Unfortunately immersive space doesn't work
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?
@@seanallen yes, I literally just copied the url from your video
Hmmm... tough to say without seeing your code. I just pulled it up in Xcode and it worked. What error are you getting?