January 2011
2 posts
Rasmus Andersson: Why I wrote a programmer's text... →
rsms: bla bla bla bla bla the less productive is the result. There’s an unfortunate common pattern when people open up a new application for the first time: They start by going into the “Preferences” UI and dig around like it was a game of Zelda. Instead Kod will have a very limited set of preferences which can be configured through a bla bla bla bla YES! I need to do that! The preferences...
Jan 20th
20 notes
6 tags
Media keys hook in Mac OS X
There is no nice (or is it even official?) way of detecting and handling the media keys on the user’s keyboard. One can intercept events with type NSSystemDefined and subtype 8 in -[NSApplication sendEvents:], but this has major problem: any other applications that listen to the media keys will receive these events too. This means for example that if only Spotify is running and you want to...
Jan 4th
40 notes