Found it!
-(void) scrollToTopOfScrollView:(NSScrollView*) theScrollView
{
NSPoint myScrollPosition;
if ([[theScrollView documentView] isFlipped] == YES)
myScrollPosition = NSMakePoint(0.0,0.0);
else
myScrollPosition=NSMakePoint(0.0,NSMaxY([[theScrollView d
Also tried:
NSPoint myScrollPosition;
myScrollPosition = NSMakePoint(0,0);
[[self.pValidationIssueScrollView documentView] scrollPoint:myScrollPosition];
This is being called in windowDidLoad but I’ve also tried calling it in
awakeFromLib
__
Hi All,
I’m using the code below to set the position of a Scroll View:
NSPoint pt = NSMakePoint(0,[[self.pValidationIssueScrollView documentView]
bounds].size.height);
[[self.pValidationIssueScrollView documentView] scrollPoint:pt];
However it doesn’t seem to do anything. The Clip View of the N