Am 05.03.2010 um 00:48 schrieb Daniel Káčer:
> [myDictionary setObject:[[ComplexObject alloc] initWithFrom:_tempFrom
> pairTo:string] forKey:[NSString stringWithFormat:@"%d", [myDictionary
> count]]];
Why don’t you use an NSArray?
atze
___
On Fri, 5 Mar 2010 00:48:05 +0100, Daniel K??er 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 in
thank you very much ...
This was the problem !
On Mar 5, 2010, at 0:57 , Thomas Wetmore wrote:
You need to retain your member variables in the initializer.
On Mar 4, 2010, at 6:48 PM, Daniel Káčer wrote:
- (ComplexObject*)initWithFrom:(NSString*)_sValueFrom pairTo:
(NSString*)_sValueTo {
On 05/03/2010, at 10:48 AM, Daniel Káčer wrote:
> a add my custom object into NSDictionary variable in my application with
> following code:
>
> [myDictionary setObject:[[ComplexObject alloc] initWithFrom:_tempFrom
> pairTo:string] forKey:[NSString stringWithFormat:@"%d", [myDictionary
> coun