I want to implement a tool similar to installer package maken with PackageMaker.
As we know,when installer package run, it seems like that it has a main window unchanged and it change its content view when we click "continue" or "back" every time.
Now I want to do my tool like that. So, I create a cocoa application with a Mainwindow nib file. And I create four custom view in the nib. At present, I have done the UI, and display the the first view in the window, click "Next" will display the next view and so on. In addition, I create four controller for every view if I not so, the code will be too long which will be very bad.
The problem is that when I set value to the view's textfield in the view controller class, the view doesn't display the value.
[m_fieldModel setStringValue: m_model];
What should i do?
As we know,when installer package run, it seems like that it has a main window unchanged and it change its content view when we click "continue" or "back" every time.
Now I want to do my tool like that. So, I create a cocoa application with a Mainwindow nib file. And I create four custom view in the nib. At present, I have done the UI, and display the the first view in the window, click "Next" will display the next view and so on. In addition, I create four controller for every view if I not so, the code will be too long which will be very bad.
The problem is that when I set value to the view's textfield in the view controller class, the view doesn't display the value.
[m_fieldModel setStringValue: m_model];
What should i do?