• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Animation with NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Core Animation with NSWindow
      • From: Ankuj Gupta <email@hidden>
References: 
 >Core Animation with NSWindow (From: Ankuj Gupta <email@hidden>)

  • Prev by Date: Re: presentViewController completion block usage
  • Next by Date: Binding NSDictionary in NSArray into table view cell
  • Previous by thread: Core Animation with NSWindow
  • Next by thread: Re: Core Animation with NSWindow
  • Index(es):
    • Date
    • Thread