• 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: Need help setting up KVO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help setting up KVO


  • Subject: Re: Need help setting up KVO
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 22 Mar 2007 00:41:08 -0400

sorry..

you're trying to get data from the currently selected item in the tableview??

just fields that aren't shown?

can you not just ask the arraycontroller for the selectedObjects?


On Mar 21, 2007, at 9:54 PM, Yevgeniy Goldberg wrote:

Well,
What I'm apparently still missing here, is: how do I access those fields.
Should I try to establish a reference to the array controller which the model is bound?


-Eugene

On Mar 21, 2007, at 8:50 PM, mmalc crawford wrote:


On Mar 21, 2007, at 6:44 PM, Yevgeniy Goldberg wrote:

When the selection in the TableView changes I need to access various properties of the object that corresponds to the new selection.
The TableView presents 2 columns, where the actual model object has about 20 fields.
When the user selects a new row in the TableView the application needs to gain access to all 20 of the model fields and determine further course of action based in the retrieved values.
What is the best way to get this done?


There is nothing to do.
The fields are already there.

Is there a situation in which this is not the case?

mmalc


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Need help setting up KVO
      • From: Yevgeniy Goldberg <email@hidden>
References: 
 >Need help setting up KVO (From: Yevgeniy Goldberg <email@hidden>)
 >Re: Need help setting up KVO (From: mmalc crawford <email@hidden>)
 >Re: Need help setting up KVO (From: Yevgeniy Goldberg <email@hidden>)
 >Re: Need help setting up KVO (From: mmalc crawford <email@hidden>)
 >Re: Need help setting up KVO (From: Yevgeniy Goldberg <email@hidden>)

  • Prev by Date: QTMovie frame looping
  • Next by Date: Re: QTMovie frame looping
  • Previous by thread: Re: Need help setting up KVO
  • Next by thread: Re: Need help setting up KVO
  • Index(es):
    • Date
    • Thread