• 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
duplicate entries and NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

duplicate entries and NSArrayController


  • Subject: duplicate entries and NSArrayController
  • From: "Joe Roback" <email@hidden>
  • Date: Thu, 8 Jun 2006 02:57:31 -0700

How to do prevent duplicate entries when using an NSArrayController.

I have an NSArrayController bound to a NSMutableArray in my controller
class. I connected insert: to an "add" button on my view and I have a
NSString key-value property which is loaded in a NSTableView.

When i click on the add button, I can add many entries which the same
NSString value. I need these to be unique.

thanks.
_______________________________________________
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


  • Prev by Date: Re: Connecting actions to custom entity classes
  • Next by Date: No Override by bundles
  • Previous by thread: Re: Localizing NSString Literals
  • Next by thread: No Override by bundles
  • Index(es):
    • Date
    • Thread