I am not a Business

Recently I’ve been talking to some friends in our private IRC channel about how presenting yourself online affects you. Essentially, their argument was “you have to market yourself” and “it’s all a numbers game”. I completely disagree.

The conversation started when I changed my twitter icon to one very similar to the new generic bird, but [...]

KVO and Blocks – The SD Version

A few months ago, Jonathan Wight posted some code called KVOBlocks on his blog that lets you use Snow Leopard’s Blocks to make Key-Value Observing a lot easier. His was really cool and I immediately began experimenting with it.

But being the kind of person that likes to know how things work, I immediately looked at [...]

Current Location – on a Mac

This weekend, my wife and I were able to go on our first vacation away from our kids for more than a few hours. And by the first time, I mean since we had our firstborn child. So, something like 5 years.

Anyway, we ended up going to Chicago and spending the whole weekend there, since [...]

Getting some thing off my chest

First let me say right from the start, this is an immensely personal and important blog post for me. It details a lot of my history through adulthood, and describes where I am today in my life, and why I’m here. It also discusses what I think is an extremely valuable and important life-lesson that’s [...]

Class-Dump Services in Snow Leopard

Earlier today I came across a tweet that mentioned that Automator can make Services in Snow Leopard. So, I jumped right on it and make 2 very convenient services for developers, which make use of class-dump. Feel free to download them and try them out!

To install them, just extract the .zip file and move the [...]

Beginners Guide to Blocks in Cocoa

Snow Leopard introduces Blocks, also called closures among other things, which are really really really cool. But, it’s not immediately obvious from its name what it is, or how useful it can be, and when.

How it works

Basically, in laymen’s terms, a block is a function that can be written directly within another function or method. [...]

Snow Leopard allows instance-variables on any object!

Instance variables for everyone

Back in March, I thought to myself “wouldn’t it be awesome if every object allowed arbitrary key-value storage just like CALayer does?” and blogged about it here. Well, it seems someone at Apple HQ agrees with me!

So, let’s give a warm welcome to the brand spanking new Snow-Leopard-only APIs:

void objc_setAssociatedObject(id object, void [...]

Dear devs: help our Macs quit faster!

In Snow Leopard, there’s a new way we can all do our part to help applications quit faster, aiding in making logging out and shutting down much faster than before.

Mac Apps now include the concept of Sudden Termination, which can be toggled by us developers in a few ways. According to the release notes, it [...]

CocoaREST’s future

As users of the open source CocoaREST library may have noticed, it hasn’t updated in a while. (To clarify: not having updates does not equate to is not being worked on.) There’s a lot of reasons for this.

One of them is specifically because Blocks became available to us before Snow Leopard’s arrival, in the form [...]

CocoaREST + Blocks

Earlier today I was thinking to myself, “it’s the weekend, Nikki’s at work and the kids are finally napping. What can I do that only takes a couple hours?” So I took at look at Landon Fuller’s PLBlocks and read Mike Ash’s awesome guide on practically using blocks (mostly for the gotchas, as I have [...]