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

Re: Swift & AppleScript


  • Subject: Re: Swift & AppleScript
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 03 Jun 2014 14:21:09 +1000

On 3 Jun 2014, at 10:11 am, John Day <email@hidden> wrote:

> How does Swift fit into the picture with ASObj-C ?

At this stage at least, it probably doesn't at all. ASObjC is a way of calling methods on Cocoa classes; what's done with the results of doing that is standard AS. You use repeat loops, not for loops, you concatenate strings with &, etc, etc. Many of things that Swift looks to be bringing to the programming table are irrelevant in the context of bridging to AppleScript. Of course it could all change some way down the track, but at this point it would seem a lot of effort for not a lot of reward.

On the other hand, some kind of "do Swift script" command might have interesting possibilities...


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


 _______________________________________________
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: Swift & AppleScript
      • From: Alastair Leith <email@hidden>
References: 
 >Swift & AppleScript (From: John Day <email@hidden>)

  • Prev by Date: Re: Swift & AppleScript
  • Next by Date: Re: Swift & AppleScript
  • Previous by thread: Re: Swift & AppleScript
  • Next by thread: Re: Swift & AppleScript
  • Index(es):
    • Date
    • Thread