The Shape of Everything
A website mostly about Mac stuff, written by August "Gus" Mueller
» Acorn
» Retrobatch
» Mastodon
» Micro.blog
» Instagram
» Github
» Maybe Pizza?
» Archives
» Feed
» Micro feed
April 28, 2005
(This post is from my old, old, super old site. My views have changed over the years, hopefully my writing has improved, and there is now more than a handful of folks reading my site. Enjoy.)

Thursday, April 28th, 2005

VoodooPad 2.1b2 is ready. There were a couple of visual fixes from the previous 2.1 build- so if you are running that you'll probably want to upgrade to this version.

-- posted 9:17 pm

A little tip that took me a while to figure out:

When messing with a CFMutableDictionaryRef, and you want to put a value on there (like if you were writing a spotlight plugin or something)- use CFDictionarySetValue and not CFDictionaryAddValue, since the Add version of it turns the value that might already be on there into an array of values.

Whoops. There goes an hour or so.

Update: I think I might have been mistaken (as pointed out to me by Kevin Ballard)... or at least I was dealing with some sort of object that claimed to be a CFMutableDictionaryRef, but which wasn't...

A quick test case says that I'm wrong, but I swear that's what I was seeing :)

-- posted 6:16 pm