• 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
Accessing objects in another Controller...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing objects in another Controller...


  • Subject: Accessing objects in another Controller...
  • From: Nicolas Poëtte <email@hidden>
  • Date: Sat, 24 Jan 2004 10:13:27 +0100

Hi,

As I am new to Cocoa, I'd like to know how to access an object within a controller from another controller.
Here is my case: I have designed my application with 2 windows, each one with its own Controller (Controller1, Controller2).
In Controller1, I have a NSMutableArray. I'd like to access the Array in Controller1 from Controller2, how do I do that???

Thanks for your help!
Nicolas
_______________________________________________
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.

  • Prev by Date: Re: Any new/updated Cocoa books soon?
  • Next by Date: Drawing strings and line heights off (NSTextView)
  • Previous by thread: Scaling Custom Toolbar Items
  • Next by thread: Drawing strings and line heights off (NSTextView)
  • Index(es):
    • Date
    • Thread