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

Re: SmartList


  • Subject: Re: SmartList
  • From: Chris Page <email@hidden>
  • Date: Thu, 19 Dec 2013 05:03:25 -0800

On Dec 18, 2013, at 8:35 PM, Shane Stanley <email@hidden> wrote:

on containsObject:anObject -- whether array contains an object
return ((setStore's containsObject:anObject) as integer = 1)
end containsObject:

Looks like you missed renaming one “setStore” to “arrayStore" when adapting the code to lists.

By the way, I don’t recommend naming “setStore” with “set” as a prefix, because that’s the Cocoa naming convention for setter methods/handlers.

-- 
Chris Page

  The other, other AppleScript Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: SmartList
      • From: Alex Zavatone <email@hidden>
    • Re: SmartList
      • From: Shane Stanley <email@hidden>
References: 
 >SmartList (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: SmartList
  • Next by Date: Access for Applescripts
  • Previous by thread: Re: SmartList
  • Next by thread: Re: SmartList
  • Index(es):
    • Date
    • Thread