This puzzles me a bit: ... NSUInteger rc; CALayer *layer = [CALayer layer]; rc = [layer retainCount]; // rc == 1 as expected
layer.frame = CGRectMake(...); rc = [layer retainCount]; // now rc == 2, it's not clear to me why ... Why does setting a frame on the layer increments its retain count? What am I missing? TIA, Tino _______________________________________________ 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