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 Build Chat messaging quickly with Stream Chat. The Stream iOS Chat SDK is highly flexible, customizable, and crazy optimized for performance. Take advantage of this top-notch developer experience, get started for free today!
Link copied to your pasteboard.