Wednesday, July 6, 2005

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.

2 Comments RSS · Twitter

Scott Anguish

This will be fixed in the next documentation update.

Sorry for the confusion.

Good to hear, Scott. BTW, I think this is atypical. The docs have gotten a *lot* better in the last year or two.

Leave a Comment