Live data from Hacker News

Show HN: Swifty – Learn to code in Swift

swifty-app.com

1–10 of 28 posts

Re: Show HN: Swifty – Learn to code in Swift

#4
I started a Swift Cookbook a couple months ago. I've got a section on Strings and Arrays.

http://www.h4labs.com/dev/ios/swift_cookbook.html?topic=arra...

http://www.h4labs.com/dev/ios/swift_cookbook.html?topic=stri...

I could throw up Dates and Dictionaries over the weekend. There's a Playground switch so you can copy-paste the text as a working Playground:

http://www.h4labs.com/dev/ios/swift_cookbook.html?format=pla...

Re: Show HN: Swifty – Learn to code in Swift

#8
post #2

1. Why the hell is this an iOS app? 2. How the hell is this an iOS app?

Because swift is for apple...?

Not any more, the opensource vesion is here, runs on ubuntu and fedora (i hae got it compiled on fedora). Enterprising souls are right now working on a windows version.

Re: Show HN: Swifty – Learn to code in Swift

#9
post #2

1. Why the hell is this an iOS app? 2. How the hell is this an iOS app?

Because swift is for apple...?

In practice, nobody is seriously writing Swift code (or any other code) on iOS devices. My meaning was I don't understand why this is an iOS app instead of a Mac app or even a web one (like IBM's Swift sandbox[1]).

That being said, I'm kind of impressed someone managed to get an app on the App Store that can do this. I know that Apple loosened its restrictions on code execution on iOS a while back, but as far as I am aware there's no way to compile Swift on ARM… did they write their own compiler/runtime or something?

1: https://developer.ibm.com/swift/2015/12/03/introducing-the-i...

Re: Show HN: Swifty – Learn to code in Swift

#10
post #2

1. Why the hell is this an iOS app? 2. How the hell is this an iOS app?

Not a crazy question, but I'm guessing it's so users can feel comfortable learning Swift wherever they are. Yes, it's true that you should be on Xcode for serious development but I'm guessing this is aimed at the user who has never coded in Swift before.
Post reply on HN