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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to