Debugging on Android can be a pain at times – some of these can be attributed to the architecture of its developer tools. If you find the emulator’s startup time to be too slow for you, there may be a configuration option that you’ve overlooked and can make the emulator a lot fster.
Two Macros to Speed Your Singletons
How to use singletons properly and how to supercharge your singleton writing.
Bringing Web Analytics for your Desktop App
Are you yearning for Flurry Analytics or Google Mobile Analytics for your Mac OS X application? Seek no more as your day is saved!
Handling Cookies Created in JavaScript for your Custom Cookie Jar
Yammer just broke my app because they started using JavaScript to set their session cookies. I spent a couple of days finding why the app broke and coding up the solution to this. Here’s how you take care of those pesky script-based cookies.
Crash-proof your Cocoa-app when consuming JSON!
Is your Cocoa app plagued by “unrecognized selector sent to instance” exceptions when consuming JSON data? Is your app not resilient to minor server-side JSON API changes? Here’s how to fix your JSON woes in your Objective-C project.
Supporting multiple screens at Android – Part II
Android’s support for multiple screens across devices is great, but sometimes we need more. Coding screen elements by screen percentage is sometimes the best solution for certain circumstances. TextView and EditView can be resized based on screen percentage as well
Supporting multiple screens at Android
Android’s support for multiple screens across devices is great, but sometimes we need more than the normal support. Coding screen elements by screen percentage is sometimes the best solution for certain circumstances.
Implementing Your Own Cookie Storage
Cocoa stores cookies on its own and this makes it hard to implement a web client that appears as more than one user at the same time to the web server. To do this you’ll need to make your own cookie storage and this article teaches you how.
Pull-to-refresh that goes both ways
Turbocharged OS X scroll view component that supports “pull-to-refresh” on at the top and bottom edges – perfect for a timeline display view component.
Introduction to Cocoa: NSLinguisticTagger in NSBrief podcast #72
Get your Cocoa app to recognize verbs, nouns, or even people and company names using NSLinguisticTagger. Listen to what other cool stuff that this nifty yet lesser known class can do for you.
One NSWindow handling multiple NSDocument instances
Cocoa’s document architecture envisions that a window should only handle one document. However library-type applications may need one window to handle multiple documents so that the user can easily switch between libraries without restarting the application. Here’s how you can hack AppKit so that a single window handle multiple documents.
Dynamic List – Android Development Tip
When I was starting to recode Speech Timer for Android, I realised two things. One, the android tutorial in their website is too verbose for me. I need to read too many documents to get what I need. Second, the default Views of Android are not providing me what my application needs. For this blog entry, I would like to discus about dynamic list generation.
Bringing Asynchronous Core Data documents to OS X
Core Data now officially supports concurrency and I/O in background threads since OS X 10.7 and iOS 5. In the same release, Apple also brought the document architecture to iOS that leverages this new capability of Core Data. However OS X didn’t get the same level of multicore love. In this post, I’ll show you how to create a multi-core supporting document architecture application for OS X.
Behold the Holy Array!
The holy array — like the holy swiss cheese — is an array that’s full of holes. Sometimes they’re called sparse arrays. You can use this kind of arrays instead of dictionaries to save some memory when you know that you’ll only be using small nonnegative integer as keys.

