• 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 Delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSplitView Delegate


  • Subject: NSSplitView Delegate
  • From: Doug Adams <email@hidden>
  • Date: Thu, 14 Apr 2011 17:45:51 -0400

I'm using an NSSplitView with two vertical views. It will suffice to say that the divider slides back and forth fine, views maintain their size, and as far as I can tell it's set up fine. The trouble is with using most of the NSSplitView delegate methods. Specifically, splitView_constrainMaxCoordinate_ofSubviewAt_() and splitView_constrainMinCoordinate_ofSubviewAt_() (but others are troublesome also). These are supposed to give the proposedMax/propsedMin coordinate limits. But this value is always 0. Additionally, returning any number (as real) from these methods always returns 0. Or at least appears to, because as soon as the divider is moved, the split view slams to 0 and the divider can't be moved again.

I've tried BWToolkit, which works great but I'd really like to get the methods working. Has anyone worked with this, know of a solution?

Thanks,
Doug


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Nsbundle help?
  • Next by Date: Re: xCode 4.0
  • Previous by thread: Re: Which sender is which
  • Next by thread: Re: xCode 4.0
  • Index(es):
    • Date
    • Thread