Is there any info on whether Swift can be used on Linux / be embedded?
Swift is coming to PaintCode
11–17 of 17 posts
Re: Swift is coming to PaintCode
#12Re: Swift is coming to PaintCode
#13Hm, PaintCode is nice, but I think I'd prefer a library that would let me import SVG files.
Furthermore, Apple did bring up a slide during the Platform State of the Uniform (slide 56 in the PDF) saying source compatibility wouldn't be guaranteed (but that converters would be provided) because the language will evolve. I can't imagine that they'll introduce dramatic changes that will break code generated by PaintCode, but it would be a pain if you have to completely regenerate your all rendering code with ea…
Until official release, though, Apple may make huge breaking changes (change keywords, tweak the grammar, maybe drop a feature or two. For example, do we really need trap on overflow for integers in what, in the end, is a compiled language?)
Re: Swift is coming to PaintCode
#14Hm, PaintCode is nice, but I think I'd prefer a library that would let me import SVG files.
Re: Swift is coming to PaintCode
#15So, how on earth did they get this out that quickly?
The graphics code they generate is mostly just using these CGContext APIs: https://developer.apple.com/library/ios/documentation/Graphi...
Mapping to the Swift counterparts should be straightforward.
Re: Swift is coming to PaintCode
#16Considering that Apple basically requires an xcode/objc project to deploy iOS apps, I believe Swift will become a popular cross-compiler target especially for GC'd languages. I wouldn't be surprised to hear similar news from RoboVM, MonoTouch, RubyMotion, etc in the coming months.
Re: Swift is coming to PaintCode
#17Is there any info on whether Swift can be used on Linux / be embedded?