nibs, subclassing nsview
nibs, subclassing nsview
- Subject: nibs, subclassing nsview
- From: Jim Mooney <email@hidden>
- Date: Wed, 23 Aug 2006 22:10:39 -0400
I have a problem that after reading loads of stuff both on net and
books and apple developer site I can't find an answer.
I am writing an app with (sorry) 10.2 and project builder. (although I
don't believe my question is of relevance to the problem)
I have split view and one window contains a instantiated Custom View.
When I double click the instantiated NSView icon in the Instance View
of Interface Builder, a view opens up and I can add buttons, fields ect.
When I build and run the app, the items in the instantiated
NSView(called thePeopleFormView) ie the buttons and such, do not render
in the view in the application. When I add some lines of drawing code
in the thePeopleFormView class for the view, the drawing takes place.
So it is not as if the Nib building "frozen archived" class is not in
the split pane(NSView), but rather anything put in the view from
Interface Builder is completely neglected when the view is set up and
rendered upon start of the app.
The nib instance tab in Interface Builder contains FileOwner,
FirstResponder, MainMenu, Main_Window, a controller class call
databaseConfig and my NSView PeopleFormView
The class that was instantiated, PeopleFormView, is a subclass of
NSView.
I would figure that the items I put in the PeopleFormView in Interface
Builder would be included in the final compiled app. It is not and
this goes against my complete understanding of the "frozen instances"
created by Interface Builder.
I obviously am doing something wrong. Any thought on what it might be?
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden