2048 implemented in Swift

There’s a new game clone of the 2048 game written in Swift: https://github.com/austinzheng/swift-2048. The author also provides some feedback on Swift:

  • Great language, feels like programming in Scala
  • misses closure based callbacks for UIKit – selectors seem like a hack in Swift
  • private, public, protected for class properties seem missing
  • initializing n-dimension arrays is painful
  • XCode still very unstable
 

swiftfreak

 

Leave a Reply

Your email address will not be published. Required fields are marked *