Category: Blog

  • 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 […]

  • The missing Xcode plugin manager

    Alcatraz the missing Xcode plugin manager.

  • 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.  

  • Core Data – How to organize your contexts

    One of the main questions people have when using CoreData is how to organize their contexts. This theme always causes fired up debates of what is the best technique. In the following links you can find an explanation of main approaches and some pitfalls. http://www.cocoanetics.com/2012/07/multi-context-coredata/ http://cutecoder.org/programming/multithreading-core-data-ios/ http://floriankugler.com/blog/2013/4/29/concurrent-core-data-stack-performance-shootout