"Subclassing" NIB files
"Subclassing" NIB files
- Subject: "Subclassing" NIB files
- From: John Nairn <email@hidden>
- Date: Wed, 27 Nov 2002 12:19:30 -0700
I have an application that does scientific plotting. It is very easy to
plug this code into another application to add complete plotting
support and support for my plotting document type.
Now I have an application that has specific needs for plotting that
differ from all others. It is certainly easy to subclass the document
class and plotting objects to add new features to source code, but the
new features require different interface elements too. All interface
elements for my plotting document are in a single nib file. This file
defines the plotting window and a series of drawers used to change
features of the plot.
Now I want to extend the nib file to add a custom drawer and connect
its interface elements to the existing ones. I know I can copy the nib
file and work with a new one in the new application, but it would
preferable to keep the general nib file and just get new features in by
some method. The need is analogous to subclassing an object. This
approach is much more elegant because then as I enhance plotting code
it will appear in all applications that use it without having to go
through them all and add any changes to copies of the nib files too.
Is it possible?
------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page:
http://www.mse.utah.edu/~nairn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.