Diploma in Apple Development πŸŽπŸ‘©πŸ»β€πŸ’»: Spatial 2: Lecture 5: Manipulation Component and others.
Back to slide index.
Hi! πŸ‘»
First, don't forget to confirm your attendance using the Seats Mobile app!
Second, I'm going to start every lecture with a meditation from the fantastic Sitting Still Like a Frog book, all read by Myla Kabat-Zinn. If you don't want to participate that's completely fine.
Do you remember the Tiny Treasure Trove app from lecture 1 of Coding 2?
Let's re-familiarise ourselves by skipping through this video from WWDC25: What’s new in RealityKit.
Now, let's all download the linked example code: Integrating virtual objects with your environment aka Tiny Treasure Trove. First thing to do is to get it building on your computers - do you get a build error too? What version of macOS and Xcode are you running? I have a fix, remember?
Let's look at the documentation for ManipulationComponent. Let's look at the list of all RealityKit components.
Let's review this sample code on Transforming RealityKit entities using gestures - this example uses the standard system gestures of drag, rotate and scale.
For reference, let's look at how complicated things used to be before ManipulationComponent was introduced: Responding to gestures on an entity.
Step Into Vision has a whole series of articles on gestures.
Great! Do you know who Masahiro Sakurai is? Let's take a look at their YouTube channel.
Thanks! Please watch all of the content from today's lecture as homework and prepare to present your revised project thoughts after the Easter holidays, including your working app, centred around your key moment. Take this opportunity to make big progress on your app! Don't forget, it's completely fine to present your app by making a screen recording, or even better, a live demo in class by streaming to my laptop.
Back to slide index.