Archive for the 'Programming' Category

Lazy Parent Views

Thursday, October 6th, 2005

As a Cocoa programmer, it’s easy to take for granted some of the powerful features of the framework. For instance, autoresizing subviews are a godsend! This is the feature that allows for all of those amazing Interface Builder demos where a few flags are set on the buttons and text views in a window, and […]

Destroy Xcode Tedium

Monday, September 19th, 2005

If you’re developing applications on the Mac, then you’re either familiar with, or about to become familiar with Xcode, Apple’s free development environment. I have been using Xcode for about five years now, if you count the time I spent with its predecessor, Project Builder. I am more or less happy with it, though of […]

Self-Opening AppleScript Droplets

Sunday, September 11th, 2005

Most of the AppleScripts I use are “plain scripts.” That is, they require a host application in order to be run. AppleScript also supports the notion of a script application, which can optionally accept “dropped” items directly to the script’s icon. These script applications are commonly referred to as “droplets.” Most of my droplets are […]

Safari Link Sniffing

Friday, September 9th, 2005

Keeping with the Javascript theme of my last entry, I’d like to share one of the ways I’ve used Safari’s AppleScript accessible javascript model to improve the quality of my web browsing experience. It occurred to me one day while reading some long article on Salon.com that something had been bothering me for a long […]