• 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
Multiple Views, one NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Views, one NSScrollView


  • Subject: Multiple Views, one NSScrollView
  • From: Stephan Burlot <email@hidden>
  • Date: Sat, 21 Jul 2007 01:40:05 +0200

Hi,

I need to display multiple custom views with variable height which should share the same NSScrollView

Warning: ASCII art below!

-------------------
!                ! !
!    view 1      ! !
!                ! !
-----------------! !
!    view 2      ! !
-----------------! !
!                ! !
!                ! !
!    view 3      ! !
!                ! !
!                ! !
-------------------

Do I need to calculate the size/pos of each frame or can I rely on some mechanism that would flow all my views one below the other?

Can each view be a subview of the scroll view, or is it better or easier to add all my views to a subview of the scroll view?

I've searched through a lot of sample code, but I havent found something similar. Any pointer would be appreciated!

Thanks,
Stephan
_______________________________________________

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: Multiple Views, one NSScrollView
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: how to print attributed strings to output (using NSLog? or otherwise)
  • Next by Date: Re: Multiple Views, one NSScrollView
  • Previous by thread: Re: NSDecimalNumber and division precision
  • Next by thread: Re: Multiple Views, one NSScrollView
  • Index(es):
    • Date
    • Thread