• 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
NSTableView Popup Column issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView Popup Column issue


  • Subject: NSTableView Popup Column issue
  • From: "Jon C. Munson II" <email@hidden>
  • Date: Fri, 6 Feb 2009 10:47:38 -0500
  • Organization: JTA Enterprises LLC

Namaste!

I'm having an issue with a popup in a tableview.

The issue is that the popup displays a left paren, and when the list is
displayed, shows the item as an array dump (instead of the proper
attribute's value).  I also cannot select that value and have it "stick" to
the underlying datasource (which is an intermediary table in a SQLite store,
provided by Core Data).

I know the popup is getting the proper values from its supporting
NSArraryController as I removed the binding for the Selected Object and the
popup works as expected (minus the saving of the selected object) - the
attribute's value is displayed correctly in the list.  The problem occurs
when I set the selected object binding.

The Selected Object binding is configured thus:

Bind to:  tblPattern_Yarn
Controller Key:  arrangedObjects
Model Key path: relYarn

Everything else is the defaults that IB provides when that binding is set
up.

tblPattern_Yarn is the intermediary table between tblPattern and tblYarn.
tblPattern is the "master" table in this case.

relYarn is the relationship in tblPattern_Yarn that links the Pattern to the
Yarn.

The popup is getting values from tblYarn in order to create that
relationship.

The reason for the intermediary table is due to other attributes that
further qualify the relationship between tblPattern and tblYarn, and also
the many-to-many relationship between them.

I have this same set-up for other tableviews on the same screen (with
respect to their individual needs).  I have compared them to be sure I
didn't miss something and things appear to be correct.

I checked the relationships in Core Data, and so on, and can't see any
faults from a design perspective, additionally, this works for my other
tableviews.

So, I'm asking for suggestions on either what is wrong or how to track this
down as I've reached the end of my ability to find the error.

Many thanks in advance!

Peace, Love, and Light,

/s/ Jon C. Munson II


_______________________________________________

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: NSTableView Popup Column issue
      • From: Ken Thomases <email@hidden>
    • Re: NSTableView Popup Column issue
      • From: Keary Suska <email@hidden>
  • Prev by Date: RE: NSTableView and DataSource problem
  • Next by Date: Re: garbage collection is ON NSCFDictionary crash
  • Previous by thread: Warning 'could not find object file' on NSAppleScript -executeAndReturnError
  • Next by thread: Re: NSTableView Popup Column issue
  • Index(es):
    • Date
    • Thread