Re: Core Animation with NSWindow
Re: Core Animation with NSWindow
- Subject: Re: Core Animation with NSWindow
- From: Jens Alfke <email@hidden>
- Date: Tue, 16 Apr 2013 09:37:12 -0700
On Apr 16, 2013, at 5:10 AM, Ankuj Gupta <email@hidden> wrote:
> Can we use Core Animation with NSWindow ? The apple's documentation
> mentions that we can use only with NSView. If there is any documentation
> for core animation used with NSWIndow
NSWindow doesn’t draw anything itself (aside from the window frame). All drawing takes place in NSViews. If you want to draw into the entire window, just make an empty window in Interface Builder, drop a “Custom View” into it, and resize it to fill the whole window.
—Jens
_______________________________________________
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