On Aug 4, 2010, at 11:14 PM, sebi wrote: > Cool, thanks, that did it. > What is the reason for clipsToBounds=YES is not being the default? I would > think that's what most developers need.
Typically it isn't necessary, since views are usually placed within the bounds of their parents and content is usually sized for the view. But clipping isn't free (it is usually fairly cheap however). In particular if clipsToBounds=YES was the default, then all of your views would clip all of their subviews leading to O(n^2) clipping operations (where n is the depth of your view hierarchy). -- David Duncan _______________________________________________ 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