Category: iOS

I started my first swift app with iOS 8 and needed to use core location, something that I haven’t used in a really long time. After writing all the code and testing out the app I couldn’t get the dang thing to use my location! After a frustrating 30 min of debugging I figured out […]

The UIActionSheet is a great tool to easily let users select between multiple options. I use it all the time when developing apps. Just like all great and easy to use components, designers like to customize them and make developer’s lives harder than they have to be. In this tutorial I will show you how […]

When developing an app, animations can make the defierence between a good user experience and a great one. Like most things in programing there are serveral ways to animate ui components, but I will be using the UIView class with block-based animation methods. This works with iOS 4 and greater. UIView animateWithDuration: and block-based animation […]

There are times when developing an application I need to have a single instance of a class. For example recently I needed to build an audio player that managed a song queue, and if the queue was playing. I also needed to be able to modify the queue from another view controller, so it was […]

I use UITableViews in almost every app I build, and sometimes I need to implement a pull to refresh like a boss. Its pretty easy so lets get started. Adding a UIRefreshViewControl Lets set up the scenario first. You have a storyboard with a view controller, and inside the view controller is the the UITableView […]

Today I was working on an iPhone project that required a custom UICollectionViewCell in my UICollectionView. Utilizing interface builder, and a custom xib you use this same technique to customize just about any UI component. I made my the project available from git hub: https://github.com/barrettbreshears/CustomCollectionViewCell Open up your project and add a new user interface […]