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 {
  self = [super init];

  if (self) {
sValueFrom = _sValueFrom; <<< should be sValueFrom = [_sValueFrom retain];
      sValueTo = _sValueTo; <<< similarly here...
  }
  return self;
}


_______________________________________________

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