On Mon, Jan 19, 2009 at 10:45 PM, Graham Cox <graham....@bigpond.com> wrote: > Using a separate view for each card is a bad idea anyway. Instead, just use > a custom object and get the main view to draw each one.
I'd recommend abstracting out the card-drawing code into a subclass of NSButtonCell and using that cell to draw the hand inside an NSView subclass. Then you don't have to worry about sibling view clipping issues, and you minimize the number of views you have to boot. --Kyle Sluder _______________________________________________ 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