Re: How to set up my NSViews?
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:03:05 +0200
On 06.09.2016 at 21:30 Ken Thomases wrote:
> On Sep 6, 2016, at 1:38 PM, Andreas Falkenhahn <email@hidden> wrote:
>> On 06.09.2016 at 18:51 Ken Thomases wrote:
>>> On Sep 6, 2016, at 11:41 AM, Andreas Falkenhahn <email@hidden> wrote:
>>>> My NSWindow contains an NSView which I use to draw custom graphics to. It doesn't
>>>> contain any widgets like buttons at all, just custom graphics drawn in drawRect().
>>>> Now I'd like to have an AVPlayerView NSView on top of this view. Thus, I tried to
>>>> add this AVPlayerView on top of the NSView by doing the following:
>>>> [view addSubview:playerview];
>>>> However, this didn't work and generated lots of debug output to stderr.
>>> What, specifically, does "this didn't work" mean? What debug output was logged?
> I'll note you still didn't say what "this didn't work" means, but I can guess.
Well, it meant nothing was drawn. Sound was played, though.
--
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