2009/4/29 Тимофей Даньшин <ok5.ad...@gmail.com>: > It's a very funny thing. And i do hope i am not bonkers. But the following > code works fine until i delete the line with "NSLog(....)". In the latter > case it just returns an empty array. Are there any sane reasons why that can > happen?
No, there is no sane reason for this behavior. Though I remember reading a story very recently somewhere in which someone had this exact issue, and it had to do with the way that NSLog left the stack when it completed. You probably have a memory management or other issue somewhere, perhaps in wherever is calling -selectWordsBeginningWith:. But you haven't posted nearly enough code to make even an educated guess. You need to post the code for -intoArray:addItemFromTable:usingStatement:andSearchString: at the very least. --Kyle Sluder _______________________________________________ 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