Make Hexagonal View on iOS

In this post, we will explore a bit on how to use CALayer. With CALayers you can create some neat visual effects really easily. Let's see an example on how to mask a view to a hexagon using CALayer. We mostly see square or circular images on most apps. This…

Automatically Refresh Auth Token using RestKit

When using OAuth for authenticating your users for your app, you simply need to store the auth token (e.g. in NSUserDefaults) and you can make authenticated requests in the future. But what if the auth token expires in the future and you need to refresh it? When using RestKit…

Add GIF player to EBPhotoPages on iOS

EBPhotoPages is a photo gallery library for displaying pages of photos and their meta data in a scrollview. Users are able to zoom photos in and out, as well as create, edit or delete comments and tags, share or delete a photo, and report inappropriate photos. All photos and content…

Play GIF images stored on Parse.com on iOS

Storing images on Parse is easy, we just need to create a class that contains a File column for storing the image file. With ParseUI, it's also very easy to show these images in the app using a PFImageView. All we need is to set the file property on the…

Creating a simple music player with iOS

You want to play music or just some audio content with a simple UI within your app? There were several libraries for doing that: MusicPlayerViewController, MDAudioPlayerController and many more. But none of them seem to be active any more. If you are starting development on an app that includes a…