If everything is going to plan you should be starting to find the code for these projects easier and easier. That’s not to say it’s all plain sailing from now on – there are still some tough things to learn! – but it does show that your skills are advancing and you’re starting to retain what you’ve learned.
Let’s recap what you’ve learned in this milestone:
CLLocationManagerfrom the Core Location framework, which is the central point for location permissions and updates in iOS.
CLBeaconRegionto scan for a particular iBeacon, using a UUID, major number, and minor number. That’s enough to identify anywhere in the world uniquely.
CLProximityto determine how close it was. iBeacons use extremely low signal strengths to preserve battery life, so the proximity levels are quite vague!
UIBezierPath, then render them in SpriteKit using
SKShapeNode– we used these to draw the swiping glow effect in Swifty Ninja.
AVAudioPlayer, because we wanted to be able to stop it at any point. In project 36 you’ll learn about
SKAudioNode, which is able to achieve similar results.
Stringand added some more of our own using extensions.
NSAttributedString, and how it lets us add colors, fonts, and more to text.
SPONSORED With Sentry’s error and performance monitoring for iOS, you see mobile vitals that actually matter, can solve any latency issues quickly, and learn how each release is performing over time.
Link copied to your pasteboard.