• 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: Can I bind the contentArray of an NSArrayController to selectedObjects.array of another?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I bind the contentArray of an NSArrayController to selectedObjects.array of another?


  • Subject: Re: Can I bind the contentArray of an NSArrayController to selectedObjects.array of another?
  • From: joe OneNinetyTwo <email@hidden>
  • Date: Mon, 28 Aug 2006 03:26:16 -0700 (PDT)

After hours of struggling with this, I found my
problem about 10 minutes after sending my previous
requrest.   (Sometimes explaining your problem to
someone is the best way to find an answer.).

Anyway, my solution was simple.

In step (6), instead of binding friendsController's
contentArray to personsController with key path:
selectedObjects.friends I should have used the model
key path : selection.friends

I thought I tried this before, but somehow a
connection or binding must have been off.    Maybe one
day, Apple will provide a graphical display of all the
connections and bindings in a nib so it will be easier
to check all your connections (bindings) and quickly
identify misconnections/bindings.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can I bind the contentArray of an NSArrayController to selectedObjects.array of another?
      • From: Thomas Ingham <email@hidden>
References: 
 >Can I bind the contentArray of an NSArrayController to selectedObjects.array of another? (From: joe OneNinetyTwo <email@hidden>)

  • Prev by Date: Can I bind the contentArray of an NSArrayController to selectedObjects.array of another?
  • Next by Date: getting bytes from NSData appends some special characters at the end
  • Previous by thread: Can I bind the contentArray of an NSArrayController to selectedObjects.array of another?
  • Next by thread: Re: Can I bind the contentArray of an NSArrayController to selectedObjects.array of another?
  • Index(es):
    • Date
    • Thread