Text View Bindings and Panther
Today’s MDJ reminded me of that weird regression (fixed in version 2.6.3) where DropDMG’s license agreement editor didn’t work on Mac OS X 10.3. I had rewritten the editor to use Cocoa bindings, as this improved performance and simplified the code. Unfortunately, I used NSTextView
’s attributedString
binding. Despite what the documentation and Interface Builder’s compatibility checker say, this binding is only available on Mac OS X 10.4. Of course, it’s still my fault for not covering this aspect of the agreement editor in my unit tests. But let this be a lesson: if you want to bind a text view on Panther, use the data
binding.