• 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
Re: filtering contents for NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Re: filtering contents for NSBrowser (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: filtering contents for NSBrowser
  • Next by Date: Re: Text Storage
  • Previous by thread: Re: filtering contents for NSBrowser
  • Next by thread: Classes and the Production of Objects
  • Index(es):
    • Date
    • Thread