Re: NSBrowser background color
Re: NSBrowser background color
- Subject: Re: NSBrowser background color
- From: "Cathy Shive" <email@hidden>
- Date: Thu, 13 Sep 2007 10:45:30 -0400
ah yeah, i remember seeing f-script a while back. i'll definitely
play around with it now. the object browser is really cool.
-c
On 9/12/07, Andy Lee <email@hidden> wrote:
> I had this MacTech open in my browser for weeks until I lost it in a
> browser crash:
>
> <http://www.mactech.com/articles/mactech/Vol.23/23.05/
> LearnFScript20Min/index.html>
> "Learn F-Script in 20 Minutes
> And have fun playing with Core Image"
>
> I keep meaning to actually, you know, read it.
>
> (On a tangential note, I find it annoying that there's no date on the
> article, only a volume number and issue number. What magazine
> doesn't put a publication date on their articles?)
>
> --Andy
>
>
> On Sep 12, 2007, at 11:38 PM, m wrote:
>
> > Even easier than instrumenting your code is using F-Script.
> >
> > <http://www.fscript.org/documentation/ExploringCocoaWithFScript/
> > index.htm>
> >
> > _murat
> >
> > On Sep 12, 2007, at 1:50 PM, Andy Lee wrote:
> >> Hm. Well, for what it's worth, here's the internal view hierarchy
> >> of an NSBrowser. The closest-looking thing to an NSScrollView is
> >> a private class called _NSBrowserScrollView. Maybe you can do
> >> something with the NSClipView.
> >
> > [snip]
> >
> >> I printed this with a quick-and-dirty method I wrote just now:
> >>
> >>
> >> + (void)printViewHierarchy:(NSView *)view withIndent:(NSString *)
> >> indent
> >> {
> >> NSLog(@"%@%@", indent, [view className]);
> >>
> >> NSArray *subviews = [view subviews];
> >> int i;
> >> for (i = 0; i < [subviews count]; i++) {
> >> [self printViewHierarchy:[subviews objectAtIndex:i]
> >> withIndent:[indent stringByAppendingString:@" "]];
> >> }
> >> }
> >>
> >> + (void)printViewHierarchy:(NSView *)view
> >> {
> >> [self printViewHierarchy:view withIndent:@" "];
> >> }
> >
> >
> >
> >
>
>
_______________________________________________
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