• 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: Advice requested, please.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice requested, please.


  • Subject: Re: Advice requested, please.
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 03 Feb 2016 10:33:01 +1100

On 3 Feb 2016, at 10:21 AM, Brian Christmas <email@hidden> wrote:
>
> My app does quite a bit of creating folders, and saving information as .dat files in some pre-created folders. Is it possible to substitute Swift for the ApplescriptObjC code that does this?

Well you could, in that you could write Swift code, then write some Objective-C code to call it, and then use ASObjC to call that.

> AObjC seems slow in this regard.

ASObjC creating folders and saving files is only fractionally slower than Objective-C or Swift. Have you made sure your code is as efficient as it can be? Because if you can't do that, talk of Swift or any other language is pointless.

> In other words, can aObjC and Swift be intermingled, and  would any time saving be worth it. Seconds count in this. I would still leave the particular App that does the printing alone.

I don't want to be rude, but I think you're being unrealistic. On the one hand you throw your hands up when ASObjC code gets a bit complicated, and on the other you're now talking about plunging into something that's on another level again.

But don't take my word for it -- have a look at it and decide for yourself.

--
Shane Stanley <email@hidden>
<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: Advice requested, please.
      • From: Brian Christmas <email@hidden>
References: 
 >Advice requested, please. (From: Brian Christmas <email@hidden>)
 >Re: Advice requested, please. (From: Shane Stanley <email@hidden>)
 >Re: Advice requested, please. (From: Brian Christmas <email@hidden>)

  • Prev by Date: Re: Advice requested, please.
  • Next by Date: Re: Advice requested, please.
  • Previous by thread: Re: Advice requested, please.
  • Next by thread: Re: Advice requested, please.
  • Index(es):
    • Date
    • Thread