Can iOS protocols enforce notifications to be implemented? -


in protocol definition, ios dev page (https://developer.apple.com/library/ios/documentation/mediaplayer/reference/mpmediaplayback_protocol/) lists mpmediaplaybackispreparedtoplaydidchangenotification notification.

my understanding class adhering protocol should implement properties , methods. notification? optional?

the apple page on protocols (https://developer.apple.com/library/ios/documentation/cocoa/conceptual/programmingwithobjectivec/workingwithprotocols/workingwithprotocols.html#//apple_ref/doc/uid/tp40011210-ch11-sw1) doesn't talk notifications.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -