Am 10.10.2009 um 17:43 Uhr schrieb Nick Rogers:
selectedPTVolume = [[Volume alloc] initWithDictionary:data]; [selectedPTVolume retain];
Read the memory management rules again. By calling alloc the retain count of the created object is one. There is no need to send it an additional retain message.
if I comment this the GUI hangs,
Then you've got another problem somewhere else.
[selectedPTVolume release]; selectedPTVolume = nil; if (outlineViewData) [outlineViewData reloadData];/ crashes here
I guess it crashes because you just pulled the outline view's model data from under it's feet.
How is the outline view connected to the model? Andreas _______________________________________________ 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