Re: How to set tab order in a window that has view swapping

2011-01-25 Thread Marc Respass
Hi Abhijeet, > Hi,I have a single window with a toolbar and a custom view in my application. > Toolbar has Back and Next button on it. This is my MainMenu.xib. I have 5 > more xibs other than the MainMenu.xib in my application. Each xib contains > one view with different controls in it. On Next

Re: How to set tab order in a window that has view swapping

2011-01-25 Thread Michael Babin
On Jan 25, 2011, at 1:21 AM, Abhijeet Singh wrote: > Hi,I have a single window with a toolbar and a custom view in my application. > Toolbar has Back and Next button on it. This is my MainMenu.xib. I have 5 > more xibs other than the MainMenu.xib in my application. Each xib contains > one view

How to set tab order in a window that has view swapping

2011-01-24 Thread Abhijeet Singh
Hi,I have a single window with a toolbar and a custom view in my application. Toolbar has Back and Next button on it. This is my MainMenu.xib. I have 5 more xibs other than the MainMenu.xib in my application. Each xib contains one view with different controls in it. On Next and Back button click

Re: NSViewController view swapping where to put the buttons at?

2010-01-04 Thread Graham Cox
On 05/01/2010, at 11:45 AM, Dan wrote: > My end goal is to have an interface that swaps views and performs actions at > each of those views, with the ability to go back and forth over those views. > Not sure how to do this I found something similar to what I want to do in > V

NSViewController view swapping where to put the buttons at?

2010-01-04 Thread Dan
Hi all, My end goal is to have an interface that swaps views and performs actions at each of those views, with the ability to go back and forth over those views. Not sure how to do this I found something similar to what I want to do in View swapping using a view controller. So I have a Main

Re: View Swapping Issue.

2009-08-31 Thread Graham Cox
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.

View Swapping Issue.

2009-08-31 Thread Philip Juel Borges
Hi, I'm using code from ViewController to swap between views in my app, which works fine. In my app one view is named IndexView.xib and that contains one tableview and one webview and an NSObject called IndexViewController.h/m Recently, I discovered how to shift the focus from the t

Re: IB connections with view swapping?

2009-08-20 Thread Kyle Sluder
On Thu, Aug 20, 2009 at 10:39 AM, Oftenwrong Soong wrote: > The nib file's owner is the view controller, not MyDocument. Is it best to > bind to my model via the view controller's representedObject? That's what it's for. > Also I'll need a few Target/Actions. Should I subclass NSViewController,

IB connections with view swapping?

2009-08-20 Thread Oftenwrong Soong
Hi all, My document-based app will use view swapping, allowing the user to navigate through multiple "screens" like a wizard of sorts. I am putting each view in a separate nib and using NSViewController. View swapping is working. Now I need to make connections between these views an

Re: View Swapping

2008-12-15 Thread douglas welton
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

Re: View Swapping

2008-12-15 Thread Jean-Daniel Dupas
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

View Swapping

2008-12-15 Thread Carmen Cerino Jr.
Howdy, Are there any guides regarding when it is appropriate to use this technique? Thanks, Carmen ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at co

Re: View swapping questions

2008-11-04 Thread Andrew Merenbach
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

Re: View swapping questions

2008-11-04 Thread Andy Lee
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,

Re: View swapping questions

2008-11-04 Thread Andy Lee
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

Re: View swapping questions

2008-11-04 Thread Volker in Lists
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

View swapping questions

2008-11-04 Thread Robert Mullen
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

Re: NSViewController and View Swapping

2008-07-15 Thread Hamish Allan
On Mon, Jul 14, 2008 at 3:26 PM, Brad Gibbs <[EMAIL PROTECTED]> wrote: > But, that screen (with its tab view and all of the custom views to be made > available from within the tab view) is one of several screens like it. The > other tab views will contain different numbers of tabs. The user will

Re: NSViewController and View Swapping

2008-07-14 Thread Jonathan Dann
A fades out and view B fades in). For now, I'd be happy just replacing A with B. I haven't been able to find much in the documentation about NSViewController for Cocoa. I have the Hillegass book, but the view swapping example in Chapter 29 is done with a document- based applica

Re: NSViewController and View Swapping

2008-07-14 Thread Brad Gibbs
e documentation about NSViewController for Cocoa. I have the Hillegass book, but the view swapping example in Chapter 29 is done with a document-based application and the views there are contained in an NSBox: ... NSView *v = [vc view]; [box setContentView:v]; ... I don't know Coco

Re: NSViewController and View Swapping

2008-07-14 Thread Scott Anguish
cumentation about NSViewController for Cocoa. I have the Hillegass book, but the view swapping example in Chapter 29 is done with a document-based application and the views there are contained in an NSBox: ... NSView *v = [vc view]; [box setContentView:v]; ... I don't know Cocoa well enou

Re: NSViewController and View Swapping

2008-07-13 Thread Brad Gibbs
this with an animation (view A fades out and view B fades in). For now, I'd be happy just replacing A with B. I haven't been able to find much in the documentation about NSViewController for Cocoa. I have the Hillegass book, but the view swapping example in Chapter 29 is done wit

Re: NSViewController and View Swapping

2008-07-13 Thread Nathan Kinsinger
rn on. Ultimately, I'd like to do this with an animation (view A fades out and view B fades in). For now, I'd be happy just replacing A with B. I haven't been able to find much in the documentation about NSViewController for Cocoa. I have the Hillegass book, but the view swapping e

NSViewController and View Swapping

2008-07-13 Thread Brad Gibbs
on (view A fades out and view B fades in). For now, I'd be happy just replacing A with B. I haven't been able to find much in the documentation about NSViewController for Cocoa. I have the Hillegass book, but the view swapping example in Chapter 29 is done with a document-based