Updated for the iOS 8 SDK and migrated to UICollectionView.