Can an Objective-C protocol have category? -


objective-c category can implement protocol. reverse true - can objective-c protocol have category?

no.

a protocol can have @required , @optional methods, similar compiler point of view (category methods aren't verified compiler in same way defined , continuation category methods are).

protocols can extend other protocols. instance, protocol define should extend <nsobject>.


Comments

Popular posts from this blog

visual studio - vb.net filter binding source by time -

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -