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

Re: Doubling issue


  • Subject: Re: Doubling issue
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 04 Aug 2011 09:38:07 +1000
  • Thread-topic: Doubling issue

I'm assuming localUsersAndGroupsData is the property the array controller is
bound to. I suspect the problem is that this line:

  set the end of my localUsersAndGroupsData to {userName:(item 1 of
theTextItems), userID:(item 2 of theTextItems), isUser:"User"}

is adding them to your model, and then you double up when you add them to
the array controller.

use a local variable instead of localUsersAndGroupsData to build the record.

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Doubling issue
      • From: "John C. Welch" <email@hidden>
References: 
 >Doubling issue (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Doubling issue
  • Next by Date: Re: Programmaticly creating buttons
  • Previous by thread: Doubling issue
  • Next by thread: Re: Doubling issue
  • Index(es):
    • Date
    • Thread