Re: To subclass or not to subclass, that is the question


Quincey Morris
 

On Oct 8, 2018, at 20:47 , Gerriet M. Denkmann <g@...> wrote:

“You should subclass UIActivity only if you want to provide custom services to the user. "

“This class must be subclassed before it can be used. "

So what? Kind of confusing.

It looks to me like the first quoted sentence is just poorly worded. I think it’s saying you should *use a UIActivity subclass* if you want to provide custom services.

Note that UIActivity is described in the documentation as an abstract class, so I doubt there’s any use-case where you’d instantiate one literally of that class.

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.