"Pavel Perikov" <
[hidden email]> wrote in message
news:
[hidden email]...
> "TextPresenter show topShell" unswers instance of ShellView, while "Shell
> show topShell" unswers itself (presenter).
That is correct: #topShell is specified as answering an object that conforms
to the <topPresenter> protocol, which is implemented by both Shell
(presenter) and ShellView (view). In other words one should not assume that
it is either a View or a Presenter, but just an object that implements
<topShell>.
Why does it happen in this case? When one shows a non-shell presenter, it
has to be wrapped in a top-level window of some sort, and so a ShellView is
created. That ShellView is its own presenter, which is allowed.
Regards
Blair