• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"Subclassing" NIB files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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.

  • Follow-Ups:
    • Re: "Subclassing" NIB files
      • From: j o a r <email@hidden>
  • Prev by Date: Foolish question about NSStrings
  • Next by Date: Re: NSTextContainer subclass question
  • Previous by thread: Re: Foolish question about NSStrings
  • Next by thread: Re: "Subclassing" NIB files
  • Index(es):
    • Date
    • Thread