Commits

Anonymous committed c721362

Split View - Now sends splitViewDidResizeSubviews and splitViewWillResizeSubviews notifications to the delegate

  • Participants
  • Parent commits e45b8c4

Comments (0)

Files changed (1)

 	}
 	
 	[self setNeedsDisplay:YES];
+	
+	if ([secondaryDelegate respondsToSelector:@selector(splitViewDidResizeSubviews:)])
+		[secondaryDelegate splitViewDidResizeSubviews:aNotification];
+}
+
+- (void)splitViewWillResizeSubviews:(NSNotification *)aNotification
+{
+	if ([secondaryDelegate respondsToSelector:@selector(splitViewWillResizeSubviews:)])
+		[secondaryDelegate splitViewWillResizeSubviews:aNotification];
 }
 
 #pragma mark - Resize Subviews Delegate Method and Helper Methods