Re: filtering contents for NSBrowser
Re: filtering contents for NSBrowser
- Subject: Re: filtering contents for NSBrowser
- From: Scott Anguish <email@hidden>
- Date: Sat, 10 Aug 2002 05:21:29 -0400
OK.. So, I've had it for tonight... third time is the charm tested now
- (BOOL)isVisible {
// Make this as sophisticated for example to hide more files you
don't think the user should see!
NSString *lastPathComponent = [self lastPathComponent];
if ([lastPathComponent length]>0)
{
if ([lastPathComponent characterAtIndex:0]=='.')
return NO;
if ([lastPathComponent characterAtIndex:0]=='A')
return NO;
}
return YES;
}
_______________________________________________
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.