UI doesn't have to look like a rectangle. You might want a different shape for your icon. You can do that with layer masks. Let's learn how to set them up. Download the example files. You'll find an app with two square buttons. If you head over to the assets, you see I have a …
Add an Animated Drawer
You've probably seen menus that pop out of the side of an app, but do you know how to make one? With the knowledge of some simple code you too can add these to your application using auto layout. If you take a look at the example file, I've set up a storyboard for you. …
Tip: Add Drop Shadows
A video of this tip can be found on LinkedIn Learning User Interfaces often use shadows to make them look less flat, but it isn't obvious how to add one to a view on your app. In this tip, I’ll show you how to make shadows using the CALayer found in UIViews, and a few …
Make Round Buttons and UIViews
In the good old days, Apple used a lot of rounded corner buttons. Many developers use several images to get the effect of round buttons. The CALayer of UIButton does have a feature for you to easily get rounded corners, and even circular buttons. Download the code from GitHub and open the starter file. It …
Date and Time in iOS
The song says time is on my side, but I sometimes I wonder about that when trying to work with the time types in iOS. Let me show you some of the time types. In Xcode, Open up a blank playground. There are two primary types for working with time: TimeInterval and Date. Add this …
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 …
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 at left to view. You'll find an amended transcript below. You’ve …
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 image the left to view. You'll find a transcript below. One …
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 image the left to view. You'll find a transcript below. Not …
This Old App: Update to Xcode 9
A few months ago, Apple threw out my app Interval Runcalc for being too old. While it wasn't the most innovative, complex or profitable, it was an app I used frequently myself. It was a calculator for time, pace and distance for running not only for straight runs but for the run/walk/run community who use multiple-speed …