On Fri, 5 Mar 2010 00:48:05 +0100, Daniel K??er <donaldi...@gmail.com> said:

>[myDictionary setObject:[[ComplexObject alloc] initWithFrom:_tempFrom
>pairTo:string] forKey:[NSString stringWithFormat:@"%d", [myDictionary
>count]]];
>
>.. it seems, that this work correctly ..

Not really. You're leaking a ComplexObject instance here, since you alloc it
but never release it. So, since you're making a memory management mistake
here, maybe you're making others elsewhere.

Also, what does "seems" mean? Have you inspected myDictionary to see whether
it is in *fact* what you expect?

>NSString* sText = [compObj valueFrom];   <--- on this line is some issue

How about revealing *what* issue? m.

-- 
matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

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