Re: NSView behaves different on 10.4 vs 10.5?
Re: NSView behaves different on 10.4 vs 10.5?
- Subject: Re: NSView behaves different on 10.4 vs 10.5?
- From: Graham Cox <email@hidden>
- Date: Tue, 20 Jan 2009 14:45:57 +1100
On 20 Jan 2009, at 2:36 pm, Adam Gerson wrote:
The cards in the hand are drawn overlapping.
Could anyone shed some slight on what could be occurring?
10.4 doesn't support overlapping views.
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 recall seeing some Apple sample code that implements a variety of
card games in a very adaptable way, and also does lots of cool
animation. That would probably be a great base for a game like this.
Google for 'geekgameboard'.
hth, Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden