Is there a way I can set my scrollview so as not to crop its contents? (Which is NSTextView)
I have a subclass of NSScrollView and want its contents not to be bound to its borders. I tried to override:
- (BOOL) wantsDefaultClipping{
return NO;
}
in MyScrollViewand in MytextViewwithout any effect. In iOS, I would just do: myuitextView.clipsToBounds=NO;how to do it in Cocoa?
EDIT
This is an example of what I want to achieve, but in the poppy Scrollview is white, the scroller never goes beyond its borders, but the text does as I did myuitextView.clipsToBounds=NO
See image here
EDIT2
I would not mind a clip of my mind, as @Josh suggested. But the real behavior that I would like to have can be explained with the help of this picture:

***** EDIT *****, ?
, , , , , , , .
: NSImageView, , ?
A: 1.Scroller . NSImageView, , / NSImageView, .
, NSClipView. , . ? , NSTextView, / ? ?
.