• 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
Re: Sharing Objects between 2 or more NIBS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing Objects between 2 or more NIBS


  • Subject: Re: Sharing Objects between 2 or more NIBS
  • From: mmalc crawford <email@hidden>
  • Date: Wed, 20 Sep 2006 16:37:12 -0700


On Sep 20, 2006, at 3:04 PM, Rick Langschultz wrote:

I am trying to write an Core Data Document Based Application. Is it possible to share an Object between a set of NIB files?

I would recommend that you not use Core Data until you understand the fundamentals of Cocoa application architecture.

I am trying to use ApplicationController (Subclassed NSObject) in both the MyDocument.nib and the MainMenu.nib files. When i want to subclass and instantiate the subclass it gives me an option to overwrite or merge the files. I want to have different outlets and actions for each nib. So when the mainmenu in the mainmenu.nib file needs to access the actual document window it will fire an even. Does that make any sense???

Not really...

I can guess at what it is you're trying to do, but it would be better if you first reviewed <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CoreAppArchitecture/chapter_7_section_1.html#//apple_ref/doc/uid/TP40002974-CH8-SW45 > then restated what it is you're actually trying to achieve.

mmalc

_______________________________________________
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


References: 
 >Sharing Objects between 2 or more NIBS (From: Rick Langschultz <email@hidden>)

  • Prev by Date: Software Engineers (Mac OS X / Windows)
  • Next by Date: Drag-and-drop over non-destination
  • Previous by thread: Sharing Objects between 2 or more NIBS
  • Next by thread: Software Engineers (Mac OS X / Windows)
  • Index(es):
    • Date
    • Thread