On 31/08/2009, at 10:08 PM, Philip Juel Borges wrote:
The code from the IndexViewController.m to shift focus is
[mainWindow makeFirstResponder: webView];
So I need to figure out how I can connect the mainWindow outlet to
the HostWindow in the MainMenu.xib file from the IndexView.xib file.
Hi Carmen,
your questions is kinda non-specific... a non-specific answer might
be that NSViewController might be of some help to you.
A more specific answer might be forthcoming if you could elaborate on
what you mean by view swapping. Are you talking about swapping views
between window
Le 15 déc. 08 à 18:49, Carmen Cerino Jr. a écrit :
Howdy,
Are there any guides regarding when it is appropriate to use this
technique?
Thanks,
Carmen
Generaly people prefere to use tabless tabview.
___
Cocoa-dev mailing list (Cocoa-dev@lists
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