Friday, February 22, 2019

#1 2019-01-21 02:23:29 pm

jcwelch
Member
Registered: 2009-09-11
Posts: 55

Swift Standard Library in ASOC

is there any (relatively) easy way to use some of the swift standard library stuff in ASOC? isEmpty: comes to mind as kind of convenient.

Offline

 

#2 2019-01-21 02:26:28 pm

StefanK
Member
From:: St. Gallen, Switzerland
Registered: 2006-10-21
Posts: 11550
Website

Re: Swift Standard Library in ASOC

Short story: No


regards

Stefan

Offline

 

#3 2019-01-21 03:03:46 pm

jcwelch
Member
Registered: 2009-09-11
Posts: 55

Re: Swift Standard Library in ASOC

ah well, not surprised, but still.

Offline

 

#4 2019-02-03 06:27:57 am

technomorph
Member
Registered: 2017-12-14
Posts: 96

Re: Swift Standard Library in ASOC

I came across this recently.   And haven't had
I use it yet.   But as I'm getting more into Xcode and searching for things.   
So much of what I'm finding in tutorials, examples, playgrounds etc is in Swift.

It's funny cause when I was learning OBJC the syantax was intially confusing and
I would always refer to the Swift versions as they seemed to match the Apple script syntaxing.

As I'm venturing further past foundation and app kit I know there will be a point
Where I will need to integrate some Swift into code.
  (As I've already had To do with creating a JavaScript OSA library)
So this video will definitely be referred to.

Since Shane didn't say NO.  Just
Not easy.  You would probably have to come up with a wrapper
Framework and include into a library.

Please post any adventures you have with Swift as I'm curious!

https://youtu.be/OvDk5zXCFe8


Filed under: swift

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)