Re: Advice requested, please.
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