Category: iOS 11

UIColor Class Extensions

A couple of weeks ago, I added  a column on converting hex colors to UIColor. That was a function you had to copy and paste into your code. I’ve also shown you how to use the assets to keep color names handy. What would…

Apple Pencil Basics

The Apple pencil adds more functionality to tablets than finger touch, even though you use the same code. Let’s do a quick explore of the Apple Pencil, and see how easy it is to add support in your app. Download the starter app. It’s…

Tip: Update an Old App

You’ve probably had it happen to you. You find a project on GitHub in Swift 3 you want to look at or update.  You might have an old project Apple is urging you to update or kick out of the app store.. There were…

Tip: Tap A Map

Most map applications let you select a point on the map. However, touching a map usually is only for moving a map around. You might want to get a coordinate at a user’s tap. In this tip, I’ll show you how to get the…

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…

Bug Workaround: Swift Playgrounds for iPad

While doing some work on more material for the site in Swift playgrounds, I ran into a serious bug in the Swift Playgrounds for iPad. I made a short video to tell you’re about it, and I’ve included an extended transcript afterwards. Hello Folks…

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…

Tip: Image Literals

iOS Development tips weekly is a series you can find at the Lynda.com and LinkedIn Learning libraries. The first week of a week’s tip will be available for free. After that, you will need a subscription to get access to it. Click the image…

Weekly Tip: Make an iPad Camera

iOS Development tips weekly is a series you can find at the Lynda.com and LinkedIn Learning libraries. The first week of a week’s tip will be available to the public. After that, you will need a subscription to get access to it. Click the…

Tip: Creating Navigation Controllers

iOS Development tips weekly is a series you can find at the Lynda.com and LinkedIn Learning libraries. The first week of a week’s tip will be available to the public. After that, you will need a subscription to get access to it. Click the…