I tried making this a category on Protocol, but Protocol doesn't inherit from NSObject, which caused KVC pains. Runtime-generated classes can conform to protocols, but there don't seem to be any way to actually construct a new protocol at runtime. Another radar, I suppose.
I tried making this a category on
Protocol
, butProtocol
doesn't inherit fromNSObject
, which caused KVC pains. Runtime-generated classes can conform to protocols, but there don't seem to be any way to actually construct a new protocol at runtime. Another radar, I suppose.