// archives

Objective-C

This tag is associated with 22 posts
swiss_cheese_boosted.jpg

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.

News-Anchor-2-Icon-128x128.png

News Anchor for Mac OS X 2.4.6 Beta 3

Apparently enabling garbage collection in News Anchor 2.4.6 Beta 1 did more harm than good. Thus I’m releasing News Anchor 2.4.6 Beta 3 that fixes the issue.

post-image-Objective-C-Blocks-Callback.png

Wrapping C-Style Callbacks with Blocks

Elegantly handle C-style callbacks with Objective-C blocks. Reduce clutter, improve readability, and a really cool way of wrapping those clunky callback style that’s more than 20 years old!

News-Anchor-2-Icon-128x128.png

News Anchor 2.4.6 Beta 1 is available

News Anchor 2.4.6 Beta 1 is out and fixes a compatibility issue with a future version of Mac OS X.

Michael-Del-Borello.jpg

HackerSpace.sg: iOS Developer Meetup

Coverage on the iOS Dev Scout event on March 2012 with my commentaries. The primary topics were iOS in-app purchasing and test-driven development.

Are you having trouble sandboxing your app for the Mac App Store? I did and here is my experience on sandboxing News Anchor that uses Apple's PubSub framework and didn't play well with the sandbox. This cost me a DTS ticket and you will want to pay attention if your app also consumes RSS/ATOM feed data.

Sandboxing the PubSub framework

Are you having trouble sandboxing your app for the Mac App Store? I did and here is my experience on sandboxing News Anchor that uses Apple’s PubSub framework and didn’t play well with the sandbox. This cost me a DTS ticket and you will want to pay attention if your app also consumes RSS/ATOM feed […]

PastedGraphic.zM8UTJF17qoq.jpg

Supporting Leopard while developing in Snow Leopard

Apparently Apple’s Cocoa method availability documentation is not enough to determine whether something will work on an earlier version of Mac OS X. That is, avoiding 10.6-only methods doesn’t ensure that your application will also work flawlessly in 10.5. As a first-time Mac developer programming an application on Snow Leopard that is also targeted for […]

Native iPhone Development 101

My slides about native iPhone development, presented in Singapore PHP User’s Group meet-up.

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!