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

Re: AppleScriptObjC & Cocoa


  • Subject: Re: AppleScriptObjC & Cocoa
  • From: Bob Stern via AppleScript-Users <email@hidden>
  • Date: Mon, 22 Jun 2020 04:02:06 -0700

> On Jun 22, 2020, Jim Underwood wrote:
>
> Xojo does NOT use AppleScript as its native language, but it can run
> AppleScripts and get the results.
>
> Xojo has an excellent GUI IDE for quickly creating a very nice, Cocoa-based,
> GUI App.  It is basically a GUI designer using drag/drop from a wide
> selection of controls onto a window.


Unless you have another reason to use Xojo, I’d recommend using Swift and Xcode
to create a GUI app.  Swift’s “Process” class can run the osascript shell
command to run a compiled or uncompiled AppleScript file (.scpt or
.applescript), and Swift’s “Pipe” class can easily read the result returned by
the AppleScript.

Paul Hudson’s “Hacking with Mac” eBook is an easy way to learn to create simple
GUI elements in Swift.  It’s half price ($20) until June 3o:

https://gumroad.com/l/hwmacos/wwdc20

Paul has also has a free tutorial covering the Swift language itself, i.e., the
platform-independent features:

https://www.hackingwithswift.com/sixty

Bob
 _______________________________________________
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: AppleScriptObjC & Cocoa
      • From: Jim Underwood via AppleScript-Users <email@hidden>
References: 
 >AppleScriptObjC & Cocoa (From: Kellen Ruyle via AppleScript-Users <email@hidden>)
 >Re: AppleScriptObjC & Cocoa (From: Jim Underwood via AppleScript-Users <email@hidden>)

  • Prev by Date: Re: AppleScriptObjC & Cocoa
  • Next by Date: Re: AppleScriptObjC & Cocoa
  • Previous by thread: Re: AppleScriptObjC & Cocoa
  • Next by thread: Re: AppleScriptObjC & Cocoa
  • Index(es):
    • Date
    • Thread