On Oct 9, 2008, at 2:30 PM, DKJ wrote:
On 9 Oct, 2008, at 13:27, Andy Lee wrote:Are you retaining str when the view is initialized?No, since it was set as: str = @"x";But your question made the penny drop: it was dict that needed retaining. All works well now.
You should still retain that string... yes, constant strings implement -retain/-release/-autorelease as no-ops, but that doesn't mean that you should violate the [simple] rules of retain/release in this case.
b.bum
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 [EMAIL PROTECTED]