Re: Multiple? Call-back methods for AVPlayer
Re: Multiple? Call-back methods for AVPlayer
- Subject: Re: Multiple? Call-back methods for AVPlayer
- From: Fritz Anderson <email@hidden>
- Date: Sun, 30 Oct 2011 10:08:33 -0500
On 30 Oct 2011, at 5:58 AM, John Love wrote:
> I sure would like to just use [NSNotificationCenter defaultCenter] addObserver: … and combine in it my [mySong addObserver: method.
It appears the common prefix for notifications and KVO observations (addObserver:) is misleading you. There's no way to cross over between them, unless there's an observable property that matches the notification (maybe .rate? Not quite the same thing) or vice versa (and the notification you found is the only one in AVPlayer or AVPlayerItem).
— F
(I originally spelled it "notificatino." A useful facility that triggers your code before the event being observed. But I've exceeded my NDA.)
_______________________________________________
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