• 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: primary/secondary selection pattern for NSArrayController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: primary/secondary selection pattern for NSArrayController?


  • Subject: Re: primary/secondary selection pattern for NSArrayController?
  • From: Scott Stevenson <email@hidden>
  • Date: Mon, 9 Apr 2007 23:43:00 -0700


On Apr 9, 2007, at 11:46 AM, Eric Miller wrote:

The behavior I want is that there is always an object in the
controller's selection which is the "primary" selection. Other objects
in the selection are "secondary." The user may (in my case, via a
custom view) change the primary selection, but lacking that, if there
is any selection, the controller must designate *some* object as the
primary.

I don't think there's anything like this built it, but that's really because there's no widely-established behavior in the Mac user interface for it. There's only "one thing" and "a group of equal things."


There is usually a concept of which item in the group was clicked first, but I think that's slightly different from what you mean.

It certainly could be implemented, but it steps outside of what users have come to expect. My opinion is that you should make sure there's a really, really good reason to do it if you're going to redefine such a fundamental behavior.

     - Scott
_______________________________________________

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: primary/secondary selection pattern for NSArrayController?
      • From: Steve Weller <email@hidden>
References: 
 >primary/secondary selection pattern for NSArrayController? (From: "Eric Miller" <email@hidden>)

  • Prev by Date: Re: QTKit: handle movie playback progress
  • Next by Date: Re: Retrieving URL from NSImage
  • Previous by thread: primary/secondary selection pattern for NSArrayController?
  • Next by thread: Re: primary/secondary selection pattern for NSArrayController?
  • Index(es):
    • Date
    • Thread