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

RE: NSTableView Popup Column issue


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

Namaste!

Well, using "selection" didn't work (now that I've had an opportunity to
test it).  It definitely needs to be arrangedObjects (or something similar).
So, it isn't that.

Anyone have any further clues as to why this may be going on?

Peace, Love, and Light,

/s/ Jon C. Munson II

-----Original Message-----
From: Jon C. Munson II [mailto:email@hidden]
Sent: Friday, February 06, 2009 11:36 AM
To: 'Keary Suska'
Cc: 'Cocoa-Dev (Apple)'
Subject: RE: NSTableView Popup Column issue

Namaste!

Ah.  I see.  Thank you.  I took the original setup from a sample program
(Events & Participants I believe) and so thought that was "gospel" if you
will.

I knew it was something boneheaded...:)

Many thanks!

Peace, Love, and Light,

/s/ Jon C. Munson II


-----Original Message-----
From: Keary Suska [mailto:email@hidden]
Sent: Friday, February 06, 2009 11:13 AM
To: email@hidden
Cc: Cocoa-Dev (Apple)
Subject: Re: NSTableView Popup Column issue


On Feb 6, 2009, at 8:47 AM, Jon C. Munson II wrote:

> 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).

This generally means that you are binding a single value
representation to an array (multiple).

> 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

And here you do it. Selected Object needs to be bound to something
that returns a single value. arrangedObjects returns an array. Perhaps
you want "selection"?

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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: Kyle Sluder <email@hidden>
References: 
 >NSTableView Popup Column issue (From: "Jon C. Munson II" <email@hidden>)
 >Re: NSTableView Popup Column issue (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: underlining
  • Next by Date: NSArrayController won't "add", and "delete" removes both the record & selectable item
  • Previous by thread: RE: NSTableView Popup Column issue
  • Next by thread: Re: NSTableView Popup Column issue
  • Index(es):
    • Date
    • Thread