![Anyone Can Code](/img/default-banner.jpg)
- 61
- 545 694
Anyone Can Code
Australia
Приєднався 29 сер 2016
My name is Yuma Soerianto, I am an iOS developer and a 5 time Apple WWDC scholarship winner (in 2017, 2018, 2019, 2020 and 2021). At 10 years of age, I was the youngest winner at WWDC17.
I have been coding since I was 6. I started making online games with Javascript and HTML when I turned 7, and now Swift and Xcode. I published my first app when I was 9.
You can find out more here:
www.madebyyuma.com
I love coding and like to share my skill and encourage others to learn coding and have fun doing it!
I have been coding since I was 6. I started making online games with Javascript and HTML when I turned 7, and now Swift and Xcode. I published my first app when I was 9.
You can find out more here:
www.madebyyuma.com
I love coding and like to share my skill and encourage others to learn coding and have fun doing it!
Make your first Apple Vision Pro app!
Hi everyone, today I'm going to show you how to make an simple game for the new Apple Vision Pro!
You'll learn the fundamentals of visionOS, including:
• visionOS
• realityKit
• swiftUI
• gestures
• image-based lighting and shadows
Assets download: madebyyuma.gumroad.com/l/visionpro-assets
Final source code download: madebyyuma.gumroad.com/l/visionpro
This is a fun tutorial, so I hope you like it!
#visionpro #visionos #spatialcomputing
You'll learn the fundamentals of visionOS, including:
• visionOS
• realityKit
• swiftUI
• gestures
• image-based lighting and shadows
Assets download: madebyyuma.gumroad.com/l/visionpro-assets
Final source code download: madebyyuma.gumroad.com/l/visionpro
This is a fun tutorial, so I hope you like it!
#visionpro #visionos #spatialcomputing
Переглядів: 37 595
Відео
Make Fruit Ninja AR game with an iPad and Swift Playgrounds (Part 2 of 2)
Переглядів 2,4 тис.Рік тому
Hi everyone! In this video I'll show you how to make a Fruit Ninja game in Augmented Reality using Swift Playgrounds on an iPad! I'll guide you through the process of using ARKit, SwiftUI, SceneKit, and more. This tutorial can also guide you if you want to enter the Apple WWDC Swift Student Challenge competition! Assets (3D models Textures, Sound Effects, 2D/3D Particles) can be downloaded here...
Make Fruit Ninja AR game with an iPad and Swift Playgrounds (Part 1 of 2)
Переглядів 3,5 тис.Рік тому
Hi everyone! In this video I'll show you how to make a Fruit Ninja game in Augmented Reality using Swift Playgrounds on an iPad! I'll guide you through the process of using ARKit, SwiftUI, SceneKit, and more. This tutorial can also guide you if you want to enter the Apple WWDC Swift Student Challenge competition! Assets (3D models Textures, Sound Effects, 2D/3D Particles) can be downloaded here...
Part 4: Create a multiplayer iOS game: A step by step tutorial
Переглядів 3,6 тис.Рік тому
Welcome to @AnyoneCanCode Swift and Xcode tutorial part 4 of 4! Today I'm going to show you how to make a multiplayer game. You'll learn how to: - Create the game UI with SwiftUI - Set up a real time match with Game Center - Sending data between players - Handle network events such as player disconnecting - Use PencilKit, SwiftUI, Combine, GameKit, and more! Download the assets (images and cust...
Part 3: Create a multiplayer iOS game: A step by step tutorial
Переглядів 6 тис.Рік тому
Welcome to @AnyoneCanCode Swift and Xcode tutorial part 3 of 4! Today I'm going to show you how to make a multiplayer game. You'll learn how to: - Create the game UI with SwiftUI - Set up a real time match with Game Center - Sending data between players - Handle network events such as player disconnecting - Use PencilKit, SwiftUI, Combine, GameKit, and more! Download the assets (images and cust...
Part 2: Create a multiplayer iOS game: A step by step tutorial
Переглядів 7 тис.Рік тому
Welcome to @AnyoneCanCode Swift and Xcode tutorial part 2 of 4! Today I'm going to show you how to make a multiplayer game. You'll learn how to: - Create the game UI with SwiftUI - Set up a real time match with Game Center - Sending data between players - Handle network events such as player disconnecting - Use PencilKit, SwiftUI, Combine, GameKit, and more! Download the assets (images and cust...
Part 1: Create a multiplayer iOS game: A step by step tutorial
Переглядів 25 тис.Рік тому
Welcome to @AnyoneCanCode Swift and Xcode tutorial part 1 of 4! Today I'm going to show you how to make a multiplayer game. You'll learn how to: - Create the game UI with SwiftUI - Set up a real time match with Game Center - Sending data between players - Handle network events such as player disconnecting - Use PencilKit, SwiftUI, Combine, GameKit, and more! Download the assets (images and cust...
Apple WWDC22 Swift Student Challenge project
Переглядів 3,1 тис.2 роки тому
Hi everyone! I'm not eligible for his year's Swift Student Challenge because I've exceeded the maximum win limit. However, I still made a project because I enjoy the challenge and just wanted to realise the idea that I had! Anyway, I hope you like it and can find some inspiration from my project! #wwdc22 #swiftplaygrounds #swiftstudentchallenge 0:00 Intro 0:45 My project 1:20 The scene in AR 1:...
Make a 3D game with Swift Playgrounds 4 - Tutorial
Переглядів 17 тис.2 роки тому
Hi everyone! Apple's Worldwide Developers Conference is coming, so is the WWDC Swift Student Challenge! In this tutorial I will show you how to make a 3D game with Swift Playgrounds 4! Additionally I’ll show you how to convert your Playgrounds to a Swift package manager or .swiftpm format. Download the jackpot 3D model here: madebyyuma.gumroad.com/l/jackpot3D If you'd like, you can get the fini...
Make an app with an iPad and Swift Playgrounds 4
Переглядів 34 тис.2 роки тому
Hi everyone! With the new Swift Playgrounds now you can build an app and publish it from an iPad. In this tutorial I will guide you through the steps in making an app on an iPad and upload it to the App Store Connect! You can download the finished Playgrounds file here: madebyyuma.gumroad.com/l/quackifier Check out the apps I've made and more: madebyyuma.com 0:00 Intro 0:32 What we'll make 1:05...
Make Your First iOS app with SwiftUI (a 5 year anniversary tutorial!)
Переглядів 2,3 тис.2 роки тому
Hi everyone! Five years ago I uploaded my first tutorial. A lot has changed since then, so today I'm showing you an updated version of the tutorial! We'll be making a dice rolling app with SiftUI and Xcode, so I hope you like it! View the original tutorial here: ua-cam.com/video/pTdI7uVbiBg/v-deo.html Download the images needed for this tutorial here: madebyyuma.com/anyonecancode/dice/assets.zi...
ShazamKit and SwiftUI Tutorial - part 4 of 4
Переглядів 7113 роки тому
Note: I've made a free app that generates the catalog and signature files. Download it here: apps.apple.com/app/id1599264580 Hi! Today I'll show you how to make a fun game using the new ShazamKit framework! In this series we'll cover: • ShazamKit • Custom signature and catalog • SwiftUI • Xcode Watch part 1: ua-cam.com/video/XMnH1vVzqWU/v-deo.html Here’s a link to the catalog app repo: github.c...
ShazamKit and SwiftUI Tutorial - part 3 of 4
Переглядів 4403 роки тому
Note: I've made a free app that generates the catalog and signature files. Download it here: apps.apple.com/app/id1599264580 Hi! Today I'll show you how to make a fun game using the new ShazamKit framework! In this series we'll cover: • ShazamKit • Custom signature and catalog • SwiftUI • Xcode Watch part 1: ua-cam.com/video/XMnH1vVzqWU/v-deo.html Here’s a link to the catalog app repo: github.c...
ShazamKit and SwiftUI Tutorial - part 2 of 4
Переглядів 4943 роки тому
Note: I've made a free app that generates the catalog and signature files. Download it here: apps.apple.com/app/id1599264580 Hi! Today I'll show you how to make a fun game using the new ShazamKit framework! In this series we'll cover: • ShazamKit • Custom signature and catalog • SwiftUI • Xcode Watch part 1: ua-cam.com/video/XMnH1vVzqWU/v-deo.html Here’s a link to the catalog app repo: github.c...
ShazamKit and SwiftUI Tutorial - part 1 of 4
Переглядів 1,6 тис.3 роки тому
Note: I've made a free app that generates the catalog and signature files. Download it here: apps.apple.com/app/id1599264580 Hi! Today I'll show you how to make a fun game using the new ShazamKit framework! In this series we'll cover: • ShazamKit • Custom signature and catalog • SwiftUI • Xcode Here’s a link to the catalog app repo: github.com/Yammmma/ShazamKit-Catalog-Generator 0:00 Intro 0:38...
Apple WWDC21 Swift Student Challenge submission { Accepted }
Переглядів 5 тис.3 роки тому
Apple WWDC21 Swift Student Challenge submission { Accepted }
AR tutorial: Make a Web-based AR with Reality Composer!
Переглядів 9 тис.3 роки тому
AR tutorial: Make a Web-based AR with Reality Composer!
Make an iOS widget with SwiftUI - Part 3
Переглядів 2,5 тис.3 роки тому
Make an iOS widget with SwiftUI - Part 3
Make an iOS widget with SwiftUI - Part 2
Переглядів 2 тис.3 роки тому
Make an iOS widget with SwiftUI - Part 2
Make an iOS widget with SwiftUI - Part 1
Переглядів 5 тис.3 роки тому
Make an iOS widget with SwiftUI - Part 1
Apple WWDC20 Swift Student Challenge entry { Accepted }
Переглядів 6 тис.4 роки тому
Apple WWDC20 Swift Student Challenge entry { Accepted }
Mac Swift Playgrounds tutorial - Part 3 of 3
Переглядів 3,1 тис.4 роки тому
Mac Swift Playgrounds tutorial - Part 3 of 3
Mac Swift Playgrounds tutorial - Part 2 of 3
Переглядів 2,9 тис.4 роки тому
Mac Swift Playgrounds tutorial - Part 2 of 3
Mac Swift Playgrounds tutorial - Part 1 of 3
Переглядів 13 тис.4 роки тому
Mac Swift Playgrounds tutorial - Part 1 of 3
Make an AR Animoji with RealityKit and Reality Composer
Переглядів 7 тис.4 роки тому
Make an AR Animoji with RealityKit and Reality Composer
Image tracking with ARKit - tutorial part 2
Переглядів 2,2 тис.4 роки тому
Image tracking with ARKit - tutorial part 2
Image tracking with ARKit - tutorial part 1
Переглядів 3,8 тис.4 роки тому
Image tracking with ARKit - tutorial part 1
Parsing JSON in Swift - the ending will shock you!
Переглядів 1,7 тис.5 років тому
Parsing JSON in Swift - the ending will shock you!
Apple WWDC19 scholarship submission { accepted }
Переглядів 3,2 тис.5 років тому
Apple WWDC19 scholarship submission { accepted }
Hahah we did an angry bird tutorial but its nowhere near as cute as yours!
Try us out!! We think you'd LOVE it ~ you can create games and apps on iPad without code to export to the Apple App Store easily! No coding needed.
Hello, I have a problem about inviting friend " GameKit/GameCenter the invitation process gets stuck on “Retrieving”" , I try to invite a friend to play my app , however when the friend try to press invite link component via iMessage, it shows “Retrieving” and then disappear, nothing happens, it doesn't redirect to my app, what I'm missing? or doing wrong I can leave some part of my code. maybe you know the answer ?
I don't know where ive gone wrong but I'm at the build dice falling stage and it just hangs in the air and you cannot grab it either. Im using my own USDZ object but should work?
Hi! Make sure you’re the object you’re retrieving from the USDZ file is the actual mesh - there tends to be multiple empty objects containing the model itself! You may need to access a child of the root object.
My mind is blown just watching you code
You are an absolute monster of a coder man. On an ipad too!
Hey, I’m trying to do a passion project for college and that entails me publishing an app in the App Store. I have little coding experience especially in SwiftUI. Is there a way I can contact you like you know as a mentee?
Wonderfull !!!! Existing a way to have the dice interact with real environment (like fall from table, bounce on wall, …) ?
Certainly! You can use Scene Understanding to make the dice interact with the real environment. This isn’t available to test on a simulator, so you’ll need a physical device to test it. Hope this helps!
@@AnyoneCanCode thanks, I'll test it. If someone has one idea how I can have the hand velocity when I throw a virtual object front of me ??? when I release the object, it fall front of me, not mtter of the force I use to throw it 😢thanks for help and large thanks for this video !!!!!!
Please can you share the source code.
You saved my life! No words to thank you....
Did you go over the matchmaking menu or is the video missing?
Yes, I do cover the matchmaking menu in this video. The system menu is used, so it was added fairly quickly!
can you do this on the iPad😅❤
Definitely! You can download swift playgrounds for the iPad and follow the tutorial. I had to use my MacBook instead since my iPad had screen recording issues 😅
Okay
But I didn’t understand something how did you import the 3d model ?😅❤
because my iPad if I open Swift Playgrounds, it’s only shows me to make an app. It doesn’t show me to make a playgroun how can I make it Show me a playground?❤😊
I have been trying to make a 3D game in swift Playgrounds on iPad I tried searching for tutorials, but they didn’t work😢
Great video! 👍
The App Store Connect page has changed a bit since this. I tried following all the directions as best I could (selecting Game Center in capabilities in Certificates page, adding Game Center capability in XCode, connecting the bundle IDs, and creating a leaderboard). However, when I run the simulator and try to sign in to Game Center, I keep getting the error “Could Not Sign In. This requested operation could not be completed because this application is not recognized by Game Center”. Is there any chance you might know what’s wrong or could make a video on how to add multiplayer while navigating the newer App Store Connect page? Thank you!
Select also user management, update your xcode and macos version
I followed the exact steps. In xCode version 15, the build returns a bunch of errors and I can't see my sticker pack in the simulator.
Hey your tutorial was very interesting. I was wondering how would I implement a turn based game? Would it be much different from what you did? Are you going to do something similar?
It seems easier than in the 1980's. A home computer was for the richer children, Windows did not exist yet, everything worked with Dos promt. Basic or Basic-A was the programming language, and in class we sat in front of the computer with 3 or 4 students, the rich student with a computer at home (and who could practice at home) had to come up with the program for simple mathematical calculations and enter it at the school computer. The rest of us understood almost nothing. I still remember the line numbers 10,20,30... to be able to insert lines during programming, and a lot of C: strange characters and command words... Actually it was a disaster, Cost of a computer without chain paper-needle printer was 4 up to 6 months wages.. If you see a movie with office scenes from around 1985 you will understand what I mean... Well, today is the big day that, as a 53-year-old father of two sturdy sons, 18 and 20 YO, I downloaded Swift Playgrounds for myself and am going to try it again...😆🙂🤔 😦😱😫
Thanks Luffy !
Man, you're amazing, thank you for your video, I'm struggling with apple GameKit tutorial, but you explained just perfectly. Thanks!
How can I run it on the simulator and my phone at the same time? because I want to test it and it's not working
Hi! You’ll need to use different Apple IDs for each device/simulator for multiplayer, but otherwise it should work normally. Hope this helps!
hi I am Advitiya and I plan to apply to the Apple Student Swift challenge next year! When did you start coding this app (how many months before the Apple Student Swift Challenge ??) Thank you !
Hi Advitiya! I usually make my project when the Swift Student Challenge is announced, but there’s nothing stopping you from brainstorming before then. Best of luck with applying next year!
I could really use your help creating a vr/augmented realty app for vision pro.
please make more video like this!
Hi sir, just want to know if buying a Vision Pro is going to allow me to build and test Vision Pro applications? On Apple website, it says need a Vision Pro development kit. Thanks a lot
Hi! Any Vision Pro will work with testing your apps. I’d recommend using the regular Vision Pro since you can connect over WiFi!
This is awesome and so useful. Great job. Hope to see more!
Great tutorial man, new to visionOS here and your videos are easy to follow and very informative.
I am able to load 3d files into the Simulator, but how do I make it such that I can then move those 3D entities around? My 3D files do not load with the white bar underneath like yours. Please advise!
Hi! This tutorial explains how you can make the object interactive and drag it around. Unlike windows, there won’t be a white bar below the object, but instead you can just click and drag on the object itself. Hope this helps!
Because this is marketed as a beginner tutorial, you need to slow down and explain each step and function more. I basically just copied your code, but I didn't understand what I was doing and I'm gonna have trouble recreating it.
Pro Tip: once project is complete copy all code and paste in VS Code code pilot and have it explain the code line by line to gain deeper insights into concepts, code and frameworks.
hello, do you mean github copilot chat?
Love to see a video now that the AVP is out where you show how to deploy to the headset :)
Thanks Yuma for sharing this great tutorial! I'm new to both swift and swiftUI, your tutorial addresses many aspects of creating a complete VR application for VisionOS. It is a great starting point for anyone new in this field. It is impressive that know all this stuff at your age!
Thanks for your kind words!
Thank you for the tutorial, it was therapeutic, and it was an opener for what swiftui can do
Three months ago, you created this amazing video. You need to create more videos. This is the most useful video I've seen in the field of developing for VisionOS.
Thanks for your kind words, I’m super glad you find this tutorial useful!
Hi Yuma, I got a question about Reality Composer Project. How do I compress a Reality Composer Project as mine is showing up to 125MB. The file size limit is 25 MB for the Swift Student Challenge Thanks :)
Great video! I did have a question. Around 24:50, when I drag the dice inwards so like vertically downwards, it falls through the floor and disappears completely. Any idea as to why this might be happening?
not hating, but just a heads up, you would probably get much more viewers if they could follow along with the source code. paying for source code is not really something most people like to do, especially considering GitHub probably has much more options and bigger open source repos for free. They would rather just tip you if the video was helpful. thanks for the video either way.
Great tutorial, bro make an adavance level demo. Thanks for your efforts
On minute 19:36, my dice doesn't fall. I've checked the code several times and seems identical. Not sure if anything has changed since the video. I've also restarted XCode and the simulator but no luck :( do you know what's the issue? Maybe someone else has had this issue?
Thank you I truly hope to create my first app soon. I will search your videos to see if you have anything on Unity to Vision OS? I hope you do, as I like the way you teach... I appreciate you...
Thank you! I don’t have any Unity tutorials yet, but I’ll definitely consider it!
Can I start to create on Windows system?
Unfortunately, Xcode is only available on Macs.
No
Hey, did you use a coaching overlay for this App?
Yes, I did use a coaching overlay view for my WWDC21 project!
its amazing what someone in your age can do today online.. good job buddy thank you
I am trying to make another app using some lessons from this video, but I've run into a problem. When I do the variables similar to your "diceData" the variables only change within their respective files. So if I change, for example, "rolledNumber" in the ImmersiveView it will only change there and the variable will be unchanged in the ContentView. I have "ImmersiveView(spaceData: SpaceData())" in the App file and "var spaceData: SpaceData" in both the ImmersiveView and ContentView. Is there any thing I can try or test to make this work?
When you write “ImmersiveView(spaceData: SpaceData())”, the brackets “()” after SpaceData will create a new instance of the data, which means that it won’t update the data across your files. You should reference your “spaceData” variable instead, which should solve the issue. Hope this helps!
@@AnyoneCanCode I actually got it working with an ObservableObject but thank you for the detailed response. Is there anyway to add walls or use the users house (ARKit?) so the objects don't roll forever?
Thank you! This is the best tutorial I've seen on this topic yet. One question, one of Apple's tutorials recommends adding .usd models into a swift package so that they are optimised automatically at run time. Have you tried this? Does it change anything in the way you access and address the model?
Great video and thanks for the help getting started. Is it just me or does the dice hang around after you've closed the app? Is there a cleanup step missing from the app on its closure?
Thanks! I’m not aware of any cleanup steps for VisionOS apps because garbage collection should be handled automatically. It’s likely to be a bug in the simulator, but could also be something I missed!
I have a idea really 2 different ideas that would have most likely similar coding for the app ... Could I pay you to make a app for me ?
Amazing tutorial, I bought the code and material, and everything works fine on my Macbook. How can I run this app on my real Apple Vision Pro?
Thanks and congrats on getting a Vision Pro! You can connect Xcode to your Vision Pro over WiFi on the same network. If you open Remote Devices in your Vision Pro settings and go to Devices and Simulators on Xcode, you should be able to pair the device. After that, enable Developer Mode in your AVP’s settings, restart, then run the app from Xcode. Hope this helps!
Good video. What minimum specs do you recommend for developing with the vision os simulator?
I’ve found the simulator works best on Apple Silicon Macs!
16:40 How you know those functions?
Apple’s documentation is a good resource to know what functions to use! Xcode also has autocomplete which gives you a good hint as to what to use.