Custom NSView questions
Custom NSView questions
- Subject: Custom NSView questions
- From: Greg Hulands <email@hidden>
- Date: Sat, 19 Apr 2003 11:21:25 +1000
Hi,
I am just starting to design a custom NSView, but as yet cannot get my
head around some problems. The requirements for the custom view are:
1. It displays radio buttons depending on how many bundles the
application loaded at startup. This poses the problem of sometimes
having a scroll bar and sometimes not, depending on how big the view is
and how many bundles were loaded. Would I achieve this by just hiding
the scrollers if they are not needed and if they are, then display
them, or depending on the number of bundles, if they are over a certain
threshold, then insert a scroll view in the view hierarchy and set my
custom view to be the document view of the scroll view?
This seems to be the only hurdle I can for-see when implementing. Does
anyone have any advice on this?
Any help is greatly appreciated.
Regards,
Greg
_______________________________________________
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.