Ahh so all the magic is with @objc and bridging header
Thanks for sharing
++
Corinne
On 28 Aug 2014, at 14:51, Daniel Bevenius <daniel.bevenius(a)gmail.com> wrote:
Cool
On 28 August 2014 14:46, Daniel Passos <daniel(a)passos.me> wrote:
Very nice!
On Thu, Aug 28, 2014 at 8:09 AM, Erik Jan de Wit <edewit(a)redhat.com> wrote:
Hi Swift lovers,
In order to test if Swift could even be used to write cordova plugins and truly test the
objective-c -> Swift interoperability. I’ve created a port of a very simple hello world
plugin to Swfit to see if that could work.
It seems that there is only one small hurdle the Bridging-Header is not automatically
added to the compiler options and the runtime libs are not there. After changing these
settings by hand one can use it. I’ve asked the cordova ML if there are any solutions to
these problems.
Cheers,
Erik Jan
have a look that the github plugin project
https://github.com/edewit/cordova-plugin-hello/tree/swift
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev