Re: testing for invisible files in a file browser
Re: testing for invisible files in a file browser
- Subject: Re: testing for invisible files in a file browser
- From: "stephen joseph butler" <email@hidden>
- Date: Tue, 8 Aug 2006 18:26:30 -0500
2006/8/8, Tyler Riddle <email@hidden>:
((FolderInfo*)catalogInfo.finderInfo)->finderFlags |= kIsInvisible;
if (((FolderInfo*)catalogInfo.finderInfo)->finderFlags & kIsInvisible)
return NO;
a) You're always setting the invisible flag. Is this some debugging
code you forgot to strip?
b) You're condition checks to see if the flag is there, and then
returns NO. I think you meant:
if ((((FolderInfo*)catalogInfo.finderInfo)->finderFlags &
kIsInvisible) == kIsInvisible)
return YES;
_______________________________________________
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