On Nov 4, 2008, at 10:00 AM, Robert Mullen wrote:
I am attempting to swap views somewhat like XCode does between
project and debug modes. This is being done to an existing project
that has the main windows content view set in IB. I have tried to
store the initial view before replacing it wi
Also if you take this approach remember to retain oldView -- it will
get released when you replace it with newView.
--Andy
On Nov 4, 2008, at 1:24 PM, Volker in Lists wrote:
Hi Robert,
sounds reasonable, but no need to store any control states as far as
I can tell (they are not released,
On Nov 4, 2008, at 1:00 PM, Robert Mullen wrote:
oldView = [window contentView];
[window setContentView:newView];
and then swapping them back out on a segmented cell action
[window setContentView:oldView];
You could do it this way, but I suspect it would be simpler to use a
tabless NSTabVie
Hi Robert,
sounds reasonable, but no need to store any control states as far as I
can tell (they are not released, just "taken out of view"). There is
an example available demonstrating this w/ some nice CoreAnimation
transition > BasicCocoaAnimations found on the online developer
example
I am attempting to swap views somewhat like XCode does between project
and debug modes. This is being done to an existing project that has
the main windows content view set in IB. I have tried to store the
initial view before replacing it with the new view using code similar
to this:
oldV