• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSSplitView splitViewDidResizeSubviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSplitView splitViewDidResizeSubviews


  • Subject: NSSplitView splitViewDidResizeSubviews
  • From: Stuart Malin <email@hidden>
  • Date: Fri, 27 Feb 2009 18:17:55 -1000

I have a Split View in my U/I. I want to update some controls *after* the user has repositioned the split view's divider. So, I implemented

- (void)splitViewDidResizeSubviews:(NSNotification *)aNotification

thinking it would be invoked after the user was done resizing (i.e., after the mouse up event). However, I receive this notification repeatedly while moving the divider. The same is true for:

- (void)splitViewWillResizeSubviews:(NSNotification *)aNotification

which also receives repeated notifications while the divider is moved.

Is this expected/normal behavior for Will and Did notifications? (i.e. to be notified while the doing is happening and either at the outset and the conclusion )?
If so, what then is the functional difference between Will... and Did... ?


Also, if I want to know when the user has completed the divider movement, how would I find that out? I suspect I'd need to subclass NSSplitView method that handles the mouse events...
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSSplitView splitViewDidResizeSubviews
      • From: Andrew Yeaton <email@hidden>
  • Prev by Date: Re: Debugging the dreaded "CoreData could not fulfill a fault...."
  • Next by Date: Finding the path of selected item in NSOutlineView
  • Previous by thread: Re: Debugging the dreaded "CoreData could not fulfill a fault...."
  • Next by thread: Re: NSSplitView splitViewDidResizeSubviews
  • Index(es):
    • Date
    • Thread