• 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
Frameworks & Nibs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Frameworks & Nibs


  • Subject: Frameworks & Nibs
  • From: Daniel Todd Currie <email@hidden>
  • Date: Mon, 15 Mar 2004 03:26:58 -0800

So I've decided the best way to bring a standardized panel to all of my apps is by creating a framework. This way I won't have to worry about extra nibs, images, etc, in all of my projects. Any alternative ideas would be welcome.

The problem I am having is that I have this beautiful nib and I have no idea how to communicate with the interface elements. If I create an instance of my panel's controller class in the nib, then I have no way of accessing that instance from outside the framework.

I've looked at some examples in the Cocoa frameworks, like NSColorPanel.nib, and all I can tell is that it does not use instances. But how does one receive IBActions from the NSColorPanel interface elements if nothing is linked in IB? I'm thoroughly confused.

Thanks in advance,
-- Daniel Todd Currie
_______________________________________________
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: Frameworks & Nibs
      • From: Amul Goswamy <email@hidden>
    • Re: Frameworks & Nibs
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: one of the children has bad/missing connection
  • Next by Date: View resizing and textured windows
  • Previous by thread: Re: nsbutton highlighting
  • Next by thread: Re: Frameworks & Nibs
  • Index(es):
    • Date
    • Thread