It's still not fixed (30 July 2024). Im using: enum MapItemEnum: Codable { case home case contract case mission(subtype: ItemMissionSubEnum) case undefined enum CodingKeys: String, CodingKey { case type case subtype } enum ItemMissionSubEnum: String, Codable { case visit case pickup case dropoff } so im going to try your way
@oliviervincent891122 күн бұрын
9'+ of repeating what you are typing but without explaining anything. Why does init() do the job in the extension?Why repeating the clipShape in the custom style does the work? No explanation. This makes it lousy and not very useful, I'm sorry to say.
@m.j709227 күн бұрын
Awesome, I Loved it..., Thanks
@memadhav56172 ай бұрын
how can we limit the openWindow to open only 1 window. Even if I click on the "Open WIndow" button 10 time. How to achieve this?
@memadhav56172 ай бұрын
where are you using addTappable?
@ianf17952 ай бұрын
This really helped. Thanks.
@gillesreyna12723 ай бұрын
Thank you. Excuse my ignorance but apart from the nozzle swapping made easier, is there any other reason for this change ? flow rate ? else ? that's a copy of the E3D Obxidian ?
@zackzack74773 ай бұрын
What i got isnt high flow nozzle but if you get a CHT nozzle, then you can expect higher flow. I just wanted ease of changing nozzle
@davecancode3 ай бұрын
@ZackZack Have you had any issues loading remote usdz files by url (I'm using the apple ones from their site) and the texture comes out pure black? Geometry is correct but can't figure out what the texture issue is.
@zackzack74773 ай бұрын
are you using simulator? simulator have that bug, I'd change the scene from say, kitchen(day) to museum(day), see if lighting is fixed
@LeoT-dd1dh3 ай бұрын
Voiceinaudible 1:35
@serdaar3 ай бұрын
Just exactly what I needed. Thank you 🙏
@wynton9214 ай бұрын
Hi there. Is it possible to setup a virtual environment with multiple cameras and live stream from the AVP?
@DrewBaumann4 ай бұрын
You didnt happen to add this to GitHub did you?
@RickyKissoon4 ай бұрын
your content is great, any plans to do a video on reality view and sessions? I’m having trouble with using sessions in the update closure. Thanks!!
@zackzack74774 ай бұрын
Sessions as in ARKitSession? ARKitSession should run only once. So you want to call it in make closure, not update. Otherwise you can run in .task viewModifier block. But i suggest doing that in RealityView’s make block
@Instant_Nerf4 ай бұрын
thanks
@jmariwyatt5 ай бұрын
Awesome video. Very helpful and insightful. Especially with the explanations and the notes on the screen.
@AntiJew9645 ай бұрын
it would be a nice idea I guess to target people who are new to swift too. thanks for everything.
@developar5 ай бұрын
Awesome video thanks. I'm wondering how you recorded the screen with low-light? Mine doesn't allow me
@zackzack74775 ай бұрын
It was actually bright enough, but it looks low light lol
@jacobmetaverse5 ай бұрын
thanks dude
@TylerWaitt5 ай бұрын
Great vid!
@emilycheroske14895 ай бұрын
Great video thank you!!!
@knonic5 ай бұрын
whenever i become rich enough to buy a vision pro i'll remember this video 🤞
@zeroh_chill29665 ай бұрын
Bro turn the lights on 😂
@vlad-alex2gavanescu8885 ай бұрын
There's already tutorials on this.... That's insane
@mattygregg5 ай бұрын
Hey, Zack, thanks for this tutorial, it's been very helpful. Quick question: within the ImmersiveView, I am getting a "Cannot convert value of type 'ModelEntity.Type' to expected argument type 'Entity' on Xcode 15.3 beta 2. Anything you can think of off the top of your head without seeing the code?
@zackzack74775 ай бұрын
can you share your code here? let me see if I can troubleshoot quick
@AMM8D0DGER6 ай бұрын
perfect video thank you
@luyuanqiang6 ай бұрын
Pretty Awesome video. Thanks.
@crypto_peng6 ай бұрын
let's set up more tutorial for building VisionOS apps
@timbofet6 ай бұрын
Thanks for your video! Exactly what I needed, was able to make this happen tonight and it's my first time building on anything apple.
@zackzack74776 ай бұрын
glad it helped! I have a few beginner tutorial for AVP, if you wanna check those out. also happy to answer any questions!
@crypto_peng6 ай бұрын
Subscribe!
@JesseRichardsVideos6 ай бұрын
Thanks for these videos! I am trying to bring a Reality Composer pro scene into the space but I can’t get it to anchor to the closest table. Any ideas? Would be a great video
@zackzack74776 ай бұрын
I just got a physical device, let me tinker with it a bit and see if I can find any answers
@iamblinkin6 ай бұрын
As an experienced Unity+C# dev getting into Swift to build for visionOS I can't thank you enough for these videos, they're very straight to the point but also explained well. Looking forward to more!
@zackzack74776 ай бұрын
thank you, let me know if there is a topic you want me to cover!
@Nealcar304896 ай бұрын
Great video. Excited for your next one!
@Nealcar304896 ай бұрын
Can you do a lesson on attachments? I would love to hear about it from you since you also mention async and other really important functions/factors to consider when dealing with Realitykit. Thank you.
@zackzack74776 ай бұрын
attachments? as in a view attachment to the modelEntity? like when you tap on an entity and it shows a view?
@Matthewswanson8896 ай бұрын
are there physics systems provided by reality view? Like dropping the teapot and it falls.
@zackzack74776 ай бұрын
I am not sure if that is provided thru RealityView, but there is physics component you can set, just like setting inputComponent. And if anything, that sounds like something that needs to be done in ModelEntity, rather than RealityView. RealityView should just provide scene for your ModelEntity to show up, how you interact with entities should be done in ModelEntity level
@zackzack74776 ай бұрын
I will do some research and if I feel confident enough to make a video, will make one and let you know
@zackzack74776 ай бұрын
ok you can do yourEntity.components.set(PhysicsBodyComponent(mode: .kinematic)) yourEntity.collision = CollisionComponent(shapes: [.generateBox()], isStatic: true) yourEntity.physicsBody = PhysicsBodyComponent() to achieve physics collision between entities that got above treatment, but you will need to set scene plane, otherwise the entities will just fall into the abyss lol not sure the real world would give you those right out of the box (I doubt it) but in simulator, I loaded two entities at the same time with those treatment. they loaded, and they collided with each other and fell into the abyss lol
@devagarwal32506 ай бұрын
bro the quality of video is not good even on 720p code is not readable, love your explanation
@zackzack74776 ай бұрын
Yeah sorry about thatttttt I might redo this video, after I'm done with async loading assets. But my next video is out and I uploaded 4k version and is a lot better quality, please go check that out and see if that's better?
@zackzack74776 ай бұрын
also if you need the entire code, you can visit the link on my description, that would take you to the branch I used to create this video.
@nicore26316 ай бұрын
Does this work with transparent pieces?
@zackzack74776 ай бұрын
Yes but be careful with dust
@nicore26316 ай бұрын
@@zackzack7477 great thank you 🙏
@squareroodt58906 ай бұрын
Oh you absolute beast! Thanks dude!
@Nealcar304896 ай бұрын
This is a wonderful video. Would love to see another lesson on the Attachment Api, Update closure, with 3D model inside Reality Composer Pro. Example: RealityView { } update: {} attachments" { } Love your videos thank you!
@Nealcar304897 ай бұрын
My weekend just got hella better with dropping this KNOWLEDGE!!! Thank YOU. Love your tutorials and videos. 🔥🔥🔥 Please keep it up!
@zackzack74777 ай бұрын
Thank you! Will work on pt2 tomorrow, and if there’s something you want me to cover, plz lmk!
@Nealcar304897 ай бұрын
I think a deeper dive on how to structure the view models, models and observable objects would be wonderful. Since there aren't many tutorials about on implement those with Vision OS framework, and they are kinda the main building blocks for swift development. @@zackzack7477 Would absolutely love that!
@BUdJohnson2427 ай бұрын
This is awesome! Love seeing more Vision OS tutorial. Please keep making more!
@zackzack74777 ай бұрын
Thanks you! And will be making more, and currently working on the second video.
@rishis87146 ай бұрын
@@zackzack7477Thank you. Looking forward to more of this.
@AD-wg8ik8 ай бұрын
Thanks!
@cikoedofebrian83429 ай бұрын
good content man, thanks!
@mizech9 ай бұрын
Excellent example.
@D0iego10 ай бұрын
Thank you!!!
@dawndance745310 ай бұрын
I can’t believe how well this worked! Thank you!
@johngisbourne719711 ай бұрын
How do you buy replacement sticker sheets from LEGO ? I need a spare set for our Ninjago City. Thx, great tutorial.
@zackzack747711 ай бұрын
I usually get a knock off from aliexpress or eBay. If you want legit one, try brick link
@Dreamer521111 ай бұрын
Thanks for the tutorial , sooooo greatly appreciated . --- Why stickers !! LOL , later , Dreamer
@Nealcar30489 Жыл бұрын
This was awesome. Would love to see more Vision OS tutorials you create! I really liked that you are showing us the new Observable examples in action and teaching us about async. Learned a lot from that 10 minutes segment so please keep going into the details and showing the best way possible. It helps me learn more about what is the best route. Thank you!
@tundsdev Жыл бұрын
Just to add on top of this you probs want to mark your timezone property with @Transient so it isn't persisted in SwiftData too, I really hope they fix this in the next beta lol
@avanishr Жыл бұрын
I would be surprised if computed variables are not considered transient by default
@CraigHarrison112 Жыл бұрын
Okay so it’s the same thing I have to do with Core Data: create a property that can store the raw value and extend the generated class with a computed property that allows me to work with the enum. In some ways SwiftData “feels” better because it’s easier, but it has a long way to go before I would say it’s better than Core Data.
@zackzack7477 Жыл бұрын
not having to save manually everytime you insert a data to storage feels nice tho, and having simplified query was def nicer. no more NSPredicate is a welcomed change
@srzurka Жыл бұрын
SwiftData is build on top of CoreData so I expect that within the next year or two there will be very little reason that you want to use CoreData over SwiftData. At least, that's my hope. 🤞
Пікірлер
It's still not fixed (30 July 2024). Im using: enum MapItemEnum: Codable { case home case contract case mission(subtype: ItemMissionSubEnum) case undefined enum CodingKeys: String, CodingKey { case type case subtype } enum ItemMissionSubEnum: String, Codable { case visit case pickup case dropoff } so im going to try your way
9'+ of repeating what you are typing but without explaining anything. Why does init() do the job in the extension?Why repeating the clipShape in the custom style does the work? No explanation. This makes it lousy and not very useful, I'm sorry to say.
Awesome, I Loved it..., Thanks
how can we limit the openWindow to open only 1 window. Even if I click on the "Open WIndow" button 10 time. How to achieve this?
where are you using addTappable?
This really helped. Thanks.
Thank you. Excuse my ignorance but apart from the nozzle swapping made easier, is there any other reason for this change ? flow rate ? else ? that's a copy of the E3D Obxidian ?
What i got isnt high flow nozzle but if you get a CHT nozzle, then you can expect higher flow. I just wanted ease of changing nozzle
@ZackZack Have you had any issues loading remote usdz files by url (I'm using the apple ones from their site) and the texture comes out pure black? Geometry is correct but can't figure out what the texture issue is.
are you using simulator? simulator have that bug, I'd change the scene from say, kitchen(day) to museum(day), see if lighting is fixed
Voiceinaudible 1:35
Just exactly what I needed. Thank you 🙏
Hi there. Is it possible to setup a virtual environment with multiple cameras and live stream from the AVP?
You didnt happen to add this to GitHub did you?
your content is great, any plans to do a video on reality view and sessions? I’m having trouble with using sessions in the update closure. Thanks!!
Sessions as in ARKitSession? ARKitSession should run only once. So you want to call it in make closure, not update. Otherwise you can run in .task viewModifier block. But i suggest doing that in RealityView’s make block
thanks
Awesome video. Very helpful and insightful. Especially with the explanations and the notes on the screen.
it would be a nice idea I guess to target people who are new to swift too. thanks for everything.
Awesome video thanks. I'm wondering how you recorded the screen with low-light? Mine doesn't allow me
It was actually bright enough, but it looks low light lol
thanks dude
Great vid!
Great video thank you!!!
whenever i become rich enough to buy a vision pro i'll remember this video 🤞
Bro turn the lights on 😂
There's already tutorials on this.... That's insane
Hey, Zack, thanks for this tutorial, it's been very helpful. Quick question: within the ImmersiveView, I am getting a "Cannot convert value of type 'ModelEntity.Type' to expected argument type 'Entity' on Xcode 15.3 beta 2. Anything you can think of off the top of your head without seeing the code?
can you share your code here? let me see if I can troubleshoot quick
perfect video thank you
Pretty Awesome video. Thanks.
let's set up more tutorial for building VisionOS apps
Thanks for your video! Exactly what I needed, was able to make this happen tonight and it's my first time building on anything apple.
glad it helped! I have a few beginner tutorial for AVP, if you wanna check those out. also happy to answer any questions!
Subscribe!
Thanks for these videos! I am trying to bring a Reality Composer pro scene into the space but I can’t get it to anchor to the closest table. Any ideas? Would be a great video
I just got a physical device, let me tinker with it a bit and see if I can find any answers
As an experienced Unity+C# dev getting into Swift to build for visionOS I can't thank you enough for these videos, they're very straight to the point but also explained well. Looking forward to more!
thank you, let me know if there is a topic you want me to cover!
Great video. Excited for your next one!
Can you do a lesson on attachments? I would love to hear about it from you since you also mention async and other really important functions/factors to consider when dealing with Realitykit. Thank you.
attachments? as in a view attachment to the modelEntity? like when you tap on an entity and it shows a view?
are there physics systems provided by reality view? Like dropping the teapot and it falls.
I am not sure if that is provided thru RealityView, but there is physics component you can set, just like setting inputComponent. And if anything, that sounds like something that needs to be done in ModelEntity, rather than RealityView. RealityView should just provide scene for your ModelEntity to show up, how you interact with entities should be done in ModelEntity level
I will do some research and if I feel confident enough to make a video, will make one and let you know
ok you can do yourEntity.components.set(PhysicsBodyComponent(mode: .kinematic)) yourEntity.collision = CollisionComponent(shapes: [.generateBox()], isStatic: true) yourEntity.physicsBody = PhysicsBodyComponent() to achieve physics collision between entities that got above treatment, but you will need to set scene plane, otherwise the entities will just fall into the abyss lol not sure the real world would give you those right out of the box (I doubt it) but in simulator, I loaded two entities at the same time with those treatment. they loaded, and they collided with each other and fell into the abyss lol
bro the quality of video is not good even on 720p code is not readable, love your explanation
Yeah sorry about thatttttt I might redo this video, after I'm done with async loading assets. But my next video is out and I uploaded 4k version and is a lot better quality, please go check that out and see if that's better?
also if you need the entire code, you can visit the link on my description, that would take you to the branch I used to create this video.
Does this work with transparent pieces?
Yes but be careful with dust
@@zackzack7477 great thank you 🙏
Oh you absolute beast! Thanks dude!
This is a wonderful video. Would love to see another lesson on the Attachment Api, Update closure, with 3D model inside Reality Composer Pro. Example: RealityView { } update: {} attachments" { } Love your videos thank you!
My weekend just got hella better with dropping this KNOWLEDGE!!! Thank YOU. Love your tutorials and videos. 🔥🔥🔥 Please keep it up!
Thank you! Will work on pt2 tomorrow, and if there’s something you want me to cover, plz lmk!
I think a deeper dive on how to structure the view models, models and observable objects would be wonderful. Since there aren't many tutorials about on implement those with Vision OS framework, and they are kinda the main building blocks for swift development. @@zackzack7477 Would absolutely love that!
This is awesome! Love seeing more Vision OS tutorial. Please keep making more!
Thanks you! And will be making more, and currently working on the second video.
@@zackzack7477Thank you. Looking forward to more of this.
Thanks!
good content man, thanks!
Excellent example.
Thank you!!!
I can’t believe how well this worked! Thank you!
How do you buy replacement sticker sheets from LEGO ? I need a spare set for our Ninjago City. Thx, great tutorial.
I usually get a knock off from aliexpress or eBay. If you want legit one, try brick link
Thanks for the tutorial , sooooo greatly appreciated . --- Why stickers !! LOL , later , Dreamer
This was awesome. Would love to see more Vision OS tutorials you create! I really liked that you are showing us the new Observable examples in action and teaching us about async. Learned a lot from that 10 minutes segment so please keep going into the details and showing the best way possible. It helps me learn more about what is the best route. Thank you!
Just to add on top of this you probs want to mark your timezone property with @Transient so it isn't persisted in SwiftData too, I really hope they fix this in the next beta lol
I would be surprised if computed variables are not considered transient by default
Okay so it’s the same thing I have to do with Core Data: create a property that can store the raw value and extend the generated class with a computed property that allows me to work with the enum. In some ways SwiftData “feels” better because it’s easier, but it has a long way to go before I would say it’s better than Core Data.
not having to save manually everytime you insert a data to storage feels nice tho, and having simplified query was def nicer. no more NSPredicate is a welcomed change
SwiftData is build on top of CoreData so I expect that within the next year or two there will be very little reason that you want to use CoreData over SwiftData. At least, that's my hope. 🤞
I owe you a beer.