• 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: Key Paths @count and mutablestrings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key Paths @count and mutablestrings


  • Subject: Re: Key Paths @count and mutablestrings
  • From: Amy Gibbs <email@hidden>
  • Date: Tue, 4 Nov 2008 18:28:44 +0000


On 4 Nov 2008, at 18:21, Volker in Lists wrote:

Hi,


Is there an easy way to access the existing Array Controller from the code? I have a suitable Array Controller called Purchase Order Items Array Controller in IB, but I don't see a way to reference this in the code. The Array Controller is bound to the selection of another Array Controller.

As before and always, using IBOutlets ? You can connect an IBOutlet from any of your delegate/controller NSObject subclasses (the ones in defined in Xcode and filled with real code). If you have a NSAppDelegate class already at hand, create an IBOutlet NSArrayController *theWantedArrayController in the header file and connect that in IB to the appropriate object in IB.

I can connect it in IB, my problem is how to reference it / use the objects in it in the code. In IB I already have the Array Controller called Purchase Order Items.


in my POView.m file I want to use the objects in the array controller to do other things, but I don't see that I can access the Array Controller in the code.

This Array Controller in particular has it's content set determined by the selected item in another array controller.

Volker

Thanks _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Key Paths @count and mutablestrings
      • From: Graham Cox <email@hidden>
References: 
 >Key Paths @count and mutablestrings (From: Amy Heavey <email@hidden>)
 >Re: Key Paths @count and mutablestrings (From: Benjamin Stiglitz <email@hidden>)
 >Re: Key Paths @count and mutablestrings (From: Amy Heavey <email@hidden>)
 >Re: Key Paths @count and mutablestrings (From: Volker in Lists <email@hidden>)

  • Prev by Date: Re: View swapping questions
  • Next by Date: Re: View swapping questions
  • Previous by thread: Re: Key Paths @count and mutablestrings
  • Next by thread: Re: Key Paths @count and mutablestrings
  • Index(es):
    • Date
    • Thread