Re: Knowing when NSSplitView's divider relocates
Re: Knowing when NSSplitView's divider relocates
- Subject: Re: Knowing when NSSplitView's divider relocates
- From: Ali Lalani <email@hidden>
- Date: Mon, 10 May 2004 14:13:03 -0400
Matt,
The delegate of split view receives two relevant notifications:
- (void)splitViewWillResizeSubviews:(NSNotification *)aNotification
- (void)splitViewDidResizeSubviews:(NSNotification *)aNotification
Ali
On May 10, 2004, at 10:40 AM, Matthew Jaffa wrote:
>
Hi,
>
>
I was wondering if there is a way to be notified whenever the divider
>
bars are moved within my NSSplitView.
>
>
I made the delegate and implemented this method:
>
- (void)splitView:(NSSplitView *)sender
>
resizeSubviewsWithOldSize:(NSSize)oldSize
>
>
but it is not ever calling that function,
>
How would I go about receiving information that they have been moved?
>
>
I have subclassed the NSSplitView with my own class called
>
MySplitView, I don't know if subclassing the split view might affect
>
the above method,
>
Please let me know.
>
>
Thanks,
>
Matt
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.