Hello to everyone )
Don't even know how to explain correctly problem I have. I was using "Debug" mode for developing/testing but before release switched to "Release" mode to test it. The problem is that in release mode the following code doesn't work - files "seems" to be null.

- (void) processFiles: (NSArray *) files
{
        NSLog(@"hideFiles - filesToHide %@ count %i", files, [files count]);
        NSEnumerator * enumerator = [files objectEnumerator];
        <skipped>
}

It happens so because all NSLog turned off in release (have special macro for this) and "files" isn't accessed (as done in debug mode) in NSLog call before enumerator attempts.

Could you point me where to find the answer - smth with incorrect "files" variable initialization/declaration? Have no idea what's wrong.

I'm sure, that the answer should be very simple... cause the defect is very strange :)

-- With regards, Vera Tkachenko
[[email protected]]
[ICQ#230923300]
[web http://vera.org.ua]




_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to