iDevGames Forums
Mine Detective - Printable Version

+- iDevGames Forums (
+-- Forum: Community Zone (/forum-4.html)
+--- Forum: Work in Progress (/forum-16.html)
+--- Thread: Mine Detective (/thread-11434.html)

Mine Detective - chvid - Oct 14, 2014 08:25 AM

Some work in progress:

A minesweeper written in Swift and SpriteKit.

RE: Mine Detective - SethWillits - Oct 14, 2014 06:03 PM

How's Swift working out?

RE: Mine Detective - chvid - Oct 16, 2014 11:27 PM

Well. I like it - SpriteKit and Swift together is a productive environment for making casual games.

Swift is a lot more concise than Objective-C. That is the first thing you notice and to me really its main selling point. Now this is mostly because Objective-C is really verbose and at times really primitive.

Swift is like an updated and Applelified version of C++. It has the potential of being a fast language with precise control (ARC instead of GC, structs and classes instead of just classes). It also means throwing away the dynamic features / strong reflection support of Objective-C.

Making it impossible to do things like CoreData in Swift.

I think is Swift's biggest downside and this will be the reason the language newer will be used outside Apple app/application development, i.e. for building web applications / server-side services (like Java is used today) or cross-platform client stuff (like JavaScript is used today).

A lot of programming today is about mapping between different "domains" ie. from HTML <-> JavaScript <-> JSON <-> Your application programming language (ie. Swift) <-> SQL. That is why most stuff today is written in languages that have a dynamic open runtime a its core (C#, Java, JavaScript, Ruby + friends).

For smaller casual game programming this is of course less of an issue.