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:
CLLocationManager
from the Core Location framework, which is the central point for location permissions and updates in iOS.CLBeaconRegion
to scan for a particular iBeacon, using a UUID, major number, and minor number. That’s enough to identify anywhere in the world uniquely.CLProximity
to 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.someString[3]
by default.String
and added some more of our own using extensions.NSAttributedString
, and how it lets us add colors, fonts, and more to text.SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.
Sponsor Hacking with Swift and reach the world's largest Swift community!
Link copied to your pasteboard.