SwifUI makes it super easy to add gradient colour effects to your app design. This guide will show you the basics to get started and provide some inspiration for your own designs.
In the follow up to my last post, this guide will show how to use the object library in Xcode to place Text and Stacks directly into the design preview of an app. Yes, this means knowing less code. It is a close to drag and drop coding you can get and it works rather well.
The guide also introduces the attributes inspector to modify objects in the design, say for instance what font style the Text has. Again less coding required. 😁
If you are interested in trying some simple SwiftUI, this video will show you how to use VStacks, HStacks and ZStacks to align Text.
Now the final part of my guides showing how to create you own Live AR Pictures app. This movie explains how to add fade transitions to the animations just to give the final product a nice clean look. This is much more complicated than the other guides and pushes the boundaries of my understanding so bare with my descriptions of what is happening.
I will add further guides based around this app but it will focus on additional AR elements or how might you include this inside your main app.
In this part of the series I am going to explain how we can add to our app so that when an image is not visible on the device that the animated movie pauses. This is a nice effect that makes the overall app feel more natural.
In this part of the series we will be looking at how you can access your data using Xcode and then ultimately see your temperature data on your iPhone.…
Now for the second part in a series of movies explaining how to make your own AR app using Live Photo’s. By the end of this guide you will have an app that will detect the photo and start playing the animated movie over the top. Don’t forget to grab your resources from the first guide and also print your photos.
This is the first part in a series of movies explaining how to create your own AR app using Live Photo’s . Have fun following along and I’d love to hear how you go.
The resources for the app are available via https://www.dropbox.com/s/cc3yap1lol0ew7x/AR%20Images.zip?dl=0
At the end of last year I spent some time learning how to create an iOS app using the Augmented Reality tools available in Xcode. Below is a tweet I posted at the time to refresh your memory (well, for those who follow me)
What I have learned from this experience is that AR development is really not too complicated in iOS, many of the intelligent work is done behind the scenes. So to just place an object into an AR scene you really just need to know where in the space around you want to add it and then drop it in. The default template for an iOS AR app already has a “Jet Plane” object and without changing a line of code you get a working app. Here is what it looks like:
From this point all you need to do is define points in 3D space and add text, images and movies.
The example from the Tweet I made follows a process where the app “looks” for objects that match the size of an A4 page with the same contents of one of the images. It then attaches a node of the same dimensions over the top and then plays a movie which matches the photo inside the node. I later added text that sits above the object and moves with it.
Once I made the basic app I saw the possibilities to me of how this could be used at school. I believe this a great template for a AR tour of a school. Meeting the requirements of being a real world problem and solving a problem that affects the community, students could easily come up with their own version of using the app.
Mathematically speaking I also appreciate the complexities in understanding how to place the objects inside the AR space. The technology understands distances and angles perfectly so it become a great activity in reinforcing these concepts.
So over the coming week or so I will be releasing 5 movies that explain the process of creating the App. The best part is that the app works well after covering 2 of them, so it is quick at getting some buy in. The final 3 movies go through the process of adding some polish.
I look forward to seeing other educators and students having a go and seeing what they come up with.
This is a movie covering the fourth part of App Development with Swift Chapter 3 Section 6