• 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
NSMatrix Subclassed NSScrollView viewable area width?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMatrix Subclassed NSScrollView viewable area width?


  • Subject: NSMatrix Subclassed NSScrollView viewable area width?
  • From: James Andrews <email@hidden>
  • Date: Tue, 18 Jan 2005 19:35:12 -0500

Hi

I've created an NSMatrix subclass, that in IB I have made a subclass
of NSScrollView.

I've overWritten initWithFrame so I can set some stuff beforehand, and
after [super initWithFram:FrameRect] I want to get the width of my
viewable area so I can decide on the amount of columns I want to
generate.  I use the bounds method of the NSMatrix to get the bounds,
thinking that would be the width of view, but it is not.  I figured,
that maybe it was a method in an inherited class so I climbed the
hierachy and looked around and don't see anything usable.  I even
checked the Hierachy of NSScrollView and no avail.  Can anyone point
me in the right direction.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSMatrix Subclassed NSScrollView viewable area width?
      • From: "M. Uli Kusterer" <email@hidden>
    • Re: NSMatrix Subclassed NSScrollView viewable area width?
      • From: John Pannell <email@hidden>
  • Prev by Date: Re: Breakpoint on @throw?
  • Next by Date: Debugging Help
  • Previous by thread: Distributed Objects: problem with bycopy not working as expected
  • Next by thread: Re: NSMatrix Subclassed NSScrollView viewable area width?
  • Index(es):
    • Date
    • Thread