|
Hi list,
I've defined a custom view (with a custom controller) which
works ok inside a view holder (let's say that the application model
class is called MyAppModel). Now I need to embed this application inside
another one (HostAppModel), using a subcanvas. In this point is where I
am getting stuck:
1. If I set the name aspect of the subcanvas in the GUI painter tool and
return an inst var that was initialized with "MyAppModel new" most of
the custom view inst vars are not initialized (e.g., container is nil,
controller is nil, etc, etc) so my custom view doesn't work.
2. If I set the subcanvas client in a dynamic way (using "(builder
componentAt:...) client: ...") things are initialized ok, but my custom
controller never receives input.
I guess I must be missing something rally silly, but I can't get it to
work, so any hints would be really appreciated.
Thanks in advance.
Andrés
|