// archives

Programming

This category contains 48 posts
00-iOS-OS-X.png

Tips for Architecting Dual-platform OS X / iOS Applications

How to share common code between OS X and iOS and architect your app to dance around each platform’s similarities and differences.

If your project moved to git but still needs to interface with some Perforce-based legacy systems, this could save your day.

Replicating git to perforce

If your project moved to git but still needs to interface with some Perforce-based legacy systems, this could save your day.

hollywood-work-fx.jpg

Encoding UIButton Title for State Preservation and Restoration

Supporting state restoration in iOS often requires you to make your app just like a hollywood house where the front porch looks nice but there’s really nothing beyond that. Read more to find out why.

inIE2_browsermode_ie10_documentmode_ie9standards.png

Primefaces Review : Strength and Shortcomings

In this post, I would like to discus my first impression about Primefaces, a framework based on Jquery, Ajax and component based JSF 2.0.

Android-SDK-Manager-Intel-HAXM.png

Faster Android Development on the Mac

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.

singleton.jpg

Two Macros to Speed Your Singletons

How to use singletons properly and how to supercharge your singleton writing.

BSWebTracker-sequence-diagram.png

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!

Web-Cookie-Monster.jpg

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.

Cocoa-Coffee-Beans-Database.jpeg

Crazy App Idea: JDBC on Cocoa

Do you know why it’s so hard to gain access to an SQL database from a Mac App? Here’s why and the solution to your database access woes. Warning: it’s slightly off-beat and rad.

JSON-Coffee-FX.jpg

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.

Screen-Shot-2013-01-29-at-9.49.42-PM.png

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

Screen-Shot-2012-12-27-at-8.17.50-PM.png

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.

Web-Cookie-Monster.jpg

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-toilet.jpg

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.

Free Updates!

Learn how to grow your indie business while keeping your day job.

Categories

Archives

Keep updated!

Don't miss out on new articles!