Tag: Tutorial

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…

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…

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…

Adding Annotations and Overlays to Maps

In the last lesson, we explored the  joys of making maps using the UIMapView and MapKit. While showing maps is great, we often want to add things to a map, such as locations and graphics.  These are known as Annotations and Overlays. In this lesson…

How to Use enum and Enumerations in Swift

Often code needs some way to describe a discrete set of cases. You might need values for breakfast lunch and dinner for example. How we configure a view might be set by one of a few choices. There are many types of UIButtons we…

Swift WatchKit: Using Images on an Apple Watch(Part 2: Code)

In our last lesson we did the layout for a watch app that included images. However, we did not yet code those images. In this lesson we’ll add the code to the application to change a button background and show images.  If you have…

Basic Auto Layout: A Practical View for Beginners

Note: When I originally posted the Basic Auto Layout video on YouTube, I recorded it live and did not make a script I could post underneath it. This post makes the same UI as the video, but with a few differences in depth of…

From Apple To Raspberry Pi: An Example of Implementing a Python MVC (Part 2)

In the last part we implemented the view and controller for the Popper’s Penguins application. Now we add the model.  Along the way, we will make a delegate method for the model and change our target actions to add our data to a list. Add the…

Make a Clock In Sprite Kit: Adding a Button for a Stopwatch

In the clock app so far, we have a date and a time. We can switch between them by tapping the screen of our phone. Most apps use a button for this, and it’s time we added our first button. Our app will now…

The SlippyFlippy Challenge: Make a Better Obstacle in Sprite Kit

Build a Better Obstacle In the SlippyFlippy challenge we have a small obstacle. In Flappy Bird there are two obstacles which the bird has to pass between.  Let’s change our current obstacle into a pass-through obstacle like Flappy Bird.   Make a Random Obstacle…