Category: Swift
-
Animate With a Map Camera
In an earlier tip, I showed you how to make a map in iPad Playgrounds. Let’s learn how to animate those maps, doing a flyover of Michigan avenue in Chicago from The former home of Chess Records at 2120 South Michigan Avenue (immortalized in the Rolling Stones song) and past Grant park to North Avenue…
-
Tip: Deep Dive into Any? Dictionaries
In many factory methods, you’ll find parameters with type Any? like this: userInfo parameters in iOS and context in watchOS use these. You can place anything there, but most often, you’ll use a dictionary of type [String:Any]. This is a great way of moving multiple values from one method to another without making a class…
-
Tip: Hex Colors
There’s lot of ways to represent colors. Crayons have names like Sea Green and Peach. I used these two colors since I’m color blind and they once got me in serious trouble when I was young. I and many with color blindness can’t tell them apart easily. Knowing some other identifying system is critical in describing…