Graham,

thanks for the quick reply.
I agree that the problem isn't solved correctly by using NSLog - this is just the only method found by me to solve issue. I just thought that symptoms of the problem (need to access variable before it can be used normally) is known. files passed to processFiles is obtained using [filesController selectedObjects], where filesController is of type NSArrayController.

7 Січ 2009, в 15:05, Graham Cox написал(а):


On 7 Jan 2009, at 11:58 pm, Vera Tkachenko wrote:

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


There's no way to answer this with the information given.

Since <files> is passed in to your method, the problem is likely to lie with where it has come from. It sounds to me like the NSLog issue is not the cause of the problem, at least in this location. Who creates the array or where do you get it? Show us that bit.

--Graham





-- With regards, Vera Tkachenko
[v...@tkachenko.kiev.ua]
[ICQ#230923300]
[web http://vera.org.ua]




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to