Re: Advice requested, please.
Re: Advice requested, please.
- Subject: Re: Advice requested, please.
- From: Brian Christmas <email@hidden>
- Date: Wed, 03 Feb 2016 16:21:34 +1100
G’day again Shane
Thank you very much for the sage advice, you’ve saved me hours of plugging away a Google, and saved me from bashing my head against a brick wall.
I googled a bit yesterday, and found a brief, tantalising piece about combining Swift and AObjC, but it let me without any real idea of what was and wasn’t possible.
If folder and file saving is not much faster with other coding, the I’ll stick with AObjC, which at least I’ve got some grasp of.
Regards
Santa
On 3 Feb 2016, at 10:33 AM, Shane Stanley <email@hidden> wrote:
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
_______________________________________________
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