4 ms·
So, how on earth did they get this out that quickly?
by prezjordan 12y ago
So, how on earth did they get this out that quickly?
- mantrax5 12y agoLet's say that this thing in their pocket was indeed them being happy to see an Objective-C replacement. On a more serious note, Apple has a practice of cooperating with a small selection of developers (who sign a bunch of scary NDA's) when testing new technologies.
- brandonbloom 12y agoIt's certainly the case that some folks get early access, I don't really think that was necessary to make this happen so quickly. I'm not saying they didn't have early access, just that they... 1) already had a code generator for Objective-C 2) already had infrastructure for alternate code generators (they also support C#) 3) Swift and Objective-C share the same libraries and have similar semantics where it counts 4) Writing code generators isn't really all that difficult It's perfectly believable that they banged out enough of a first-cut at this to make an announcement within a day or two of the Swift release.
- mantrax5 12y agoOf course. You know Swift is just so natural to both Objective-C, Java, Scala, C# etc. devs already, and so much simpler than Objective-C, I have the feeling we'll see the fastest adoption of a brand new language in the history of computing here.
- pavlov 12y agoThe code generator for PaintCode is probably fairly small -- all the complexity of the app is in the beautiful UI. The graphics code they generate is mostly just using these CGContext APIs: https://developer.apple.com/library/ios/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/uid/TP30000950 https://developer.apple.com/library/ios/documentation/Graphi... Mapping to the Swift counterparts should be straightforward.