MVP Question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MVP Question

Costas
I want to use MVP but I want to subclass from the Object class instead
of the Model class. Looking at the Model class I don't see much in the
way of methods. Is there  a protocol I must follow in my class in
order for the Presenter to recognize my class as a Model?

Thanks

Costas


Reply | Threaded
Open this post in threaded view
|

Re: MVP Question

Bruno Brasesco
"Costas" <[hidden email]> escribió en el mensaje
news:[hidden email]...
> I want to use MVP but I want to subclass from the Object class instead
> of the Model class. Looking at the Model class I don't see much in the
> way of methods. Is there  a protocol I must follow in my class in
> order for the Presenter to recognize my class as a Model?

You can do it. Actually all my classes are NOT subclasses of Object.
I have my hierarchy and i use MVP with no problems

Best Regards
Bruno