CocoaDocs

The fine guys from CocoaPods now provide us CocoaDocs a tool to search and view documentation for most  the libraries that are available in their pods repository. The best thing is that if you have a library and its configured to to be a cocoapod the documentation is automatically generated for you. The index page…

YouTube Videos

Until recently to display YouTube videos in iOS or Android you need to use or an external player or some kind of Web view. The first approach made users leave your app and the second one normally was slow and buggy. Recently Google finally launched an YouTube Player API for Android. Unfortunately there isn’t a…

Generic sharedInstance iOS implementation

One very common pattern when implementing Objective C singleton objects is the sharedInstance method. Because I was a bit tired of repeating this code in several of my classes I decided to implement a Xcode Code Snippet that can be reused everywhere. As you can see simple code that can be apply to any object.

Good Macros

Here is a good write up, from Mike Ash, about the preprocessor and the proper way of writing macros. And here is a good example of a better Assert macro.

Application Icon Template

With this fabulous photoshop templates you just need to create the icon, them let it create all the versions you ever need of it.

Link to your App

Do you ever struggle to do a proper link to your application on the Application Stores? Where do I get that brand logo? Is it the right size? What’s the link to my app? Say hello to the link makers kindly provided by Apple and Google: Apple Link Maker Google Play Badges And after you…

MOGenerator integration in XCode

MOGenerator is a command line utility that generates NSManagedObject class files based on you model files. It creates a NSManagedObject derived class for each entity of your model. The utility can be run manually every time you change your model files (.xcdatamodeld). This manual process can easily be forgotten, and ideally we want it to…

XCode Build and Version numbers based on GIT

Since XCode 4.3 you can find in the Summary Tab of your targets the following fields: Version and Build. Version should be used to identify the “comercial” version of your app, something like 2.0, for more details on how to proper change version numbers have a look at semver.org. Build should be a internal number to unique…

Application Folders

I found in Apple documentation a good write up about the iOS application folders and how to use them.