iOS Archives

These posts are syndicated from my iOS Dev Diary over at pinkstone.co.uk.

The format is slightly different with more code snippets and less explanations. I had originally designed it as a notebook in iOS Development – now you can follow along if you’re interested.

How to animate a UIView

In this example we have two UIViews: one backgroundView which does not change, and one numberView which can be moved, for example by a pan gesture (we’re not dealing with that though) Once the user lets go of the movable numberView, we want to reset the view back to the middle, to the same position […]

How to add touch events to a UITableViewFooter (or header)

Table View headers or footers can’t be tapped. Sometimes however that’s exactly what we want to do. In this example we’ll add a new UIView to out table view and add it to the table’s footer. Inside this view we’ll have a custom button which we’ll create with an image. We’ll also have a method […]

How to tag a release in Git

Like in Subversion, Git supports tags. Most developers use tags to “freeze” a bunch of files at a moment in time, much like a snapshot. Commonly this feature is used whenever a new release of your software is… well… released. Xcode does not support this feature via the GUI, but of course Git does. Let’s […]

How to add iOS 7 Icons in Xcode 4.6.3

Even though Xcode 5 available, I’d still like to use Xcode 4.6.3 at times to submit updates of my “legacy” apps. Xcode 5 ruins certain aspects of my design, plus I’d like to keep the iOS 6 look for now. Xcode 5 uses Asset Catalogues to keep track of images, and there’s seemingly no way […]

How to fix “No unexpired provisioning profiles found that contain any of the keychain’s signing certificates” in Xcode 4

I understand there can be many reasons for this error message. Xcode needs a distribution profile with the same Bundle Identifier as the app. Even though this seemed to have worked in the past, Xcode 4.6.3 has gotten more pernickety as of late. Let’s fix this. Provisioning Portal Head over to the Apple Provisioning Portal […]