Tag archives for hacking

How to detect when an iOS app crashes

Great post on StackOverflow about detecting when an app is killed, due to an exception, a signal, etc. Most crashes can be caught using a 3-fold approach: appWillTerminate exception handler signal handler This translates into using: // installs HandleExceptions as the Uncaught Exception Handler NSSetUncaughtExceptionHandler(&HandleExceptions); // create the signal action structurestruct sigaction newSignalAction; // initialize […]

Hitchhiker’s guide to MKStoreKit

In-App Purchase is one of those great feature of the iOS ecosystem that I wish were easier to understand and implement in my apps. In the end it is just a machinery that will not really add value to my apps, and it would be great if the Apple motto “it just works” could be […]

Core Graphics Image Interpolation Performance

Recently, I have done quite a bit of Core Graphics programming and discovered that one key point in ensuring that an app performs well is choosing the right CGContext interpolation level. Interpolation, according to the Wikipedia, “is a method of constructing new data points within the range of a discrete set of known data points.” […]

Blur effect for Cocos2D textures on retina displays

I have recently needed to blur a Cocos2d texture to simulate an “out-of-view-field” effect. As it usually happens, it had been already implemented under the name of AWTextureFilter by Manuel MartĂ­nez-Almeda, who made it available on github. Integrating it into my app was really easy, but it turned out that there was a problem with @2x […]

Copyright © Labs Ramblings

Built on Notes Blog by TDH
Powered by WordPress

That's it - back to the top of page!