CocoaDev

Edit AllPages

Here is a category for NSTextView that allows you to easily size a text view to fit its contents:

@interface NSTextView (SizeToFit)

@end

@implementation NSTextView (SizeToFit)

@end