• 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: How to set up my NSViews?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set up my NSViews?


  • Subject: Re: How to set up my NSViews?
  • From: Andreas Falkenhahn <email@hidden>
  • Date: Wed, 07 Sep 2016 17:00:30 +0200

On 06.09.2016 at 20:12 Richard Charles wrote:

> Use AVPlayerLayer which is a subclass of CALayer. Set your parent
> NSView as a layer backed view or as a layer hosting view. This
> process can be a little confusing.

> Refer to Setting Up Layer Objects.

> https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CoreAnimation_guide/SettingUpLayerObjects/SettingUpLayerObjects.html

Thanks, that did the trick! I don't need AVPlayerView at all, I can just
use an AVPlayerLayer and add this as a sublayer to my NSView's layer. Seems
to work fine so far. Thanks for the hint! Another advantage is that AVPlayerLayer
is available in 10.7 whereas AVPlayerView requires 10.9.

--
Best regards,
 Andreas Falkenhahn                            mailto:email@hidden

_______________________________________________

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


References: 
 >How to set up my NSViews? (From: Andreas Falkenhahn <email@hidden>)
 >Re: How to set up my NSViews? (From: Richard Charles <email@hidden>)

  • Prev by Date: Re: Odd File Truncation
  • Next by Date: Re: How to set up my NSViews?
  • Previous by thread: Re: How to set up my NSViews?
  • Next by thread: Unusual Conditional Formatting
  • Index(es):
    • Date
    • Thread