• 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
Implementing Table Selection Support for Custom Controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Implementing Table Selection Support for Custom Controller?


  • Subject: Implementing Table Selection Support for Custom Controller?
  • From: Colin Cornaby <email@hidden>
  • Date: Wed, 25 Apr 2007 10:46:04 -0700

Hi,

I'm writing my own custom controller that does not use an NSArray for it's backing (it uses a remote array of objects). I'm basically trying to mimic an NSArrayController and am trying to figure out how to implement the the selection observing of a table view that NSArrayController does.

I've tried subclassing an NSArrayController before but the issue I had was that the selection stuff again didn't work because it was trying to map the selection to NSArrayController's internal content array, which of course didn't have any objects in it because I was using my own remote data source for my content.

Any ideas?

Thanks,
Colin
_______________________________________________

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: Implementing Table Selection Support for Custom Controller?
      • From: mmalc crawford <email@hidden>
    • Re: Implementing Table Selection Support for Custom Controller?
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: How to draw a rectangle around a (graph) view?
  • Next by Date: Re: How to draw a rectangle around a (graph) view?
  • Previous by thread: Re: How to draw a rectangle around a (graph) view?
  • Next by thread: Re: Implementing Table Selection Support for Custom Controller?
  • Index(es):
    • Date
    • Thread