Slashdot Mirror


A Beginner's Guide To Programming With Swift

Nerval's Lobster (2598977) writes Earlier this year, Apple executives unveiled Swift, which is meant to eventually replace Objective-C as the programming language of choice for Macs and iOS devices. Now that iOS 8's out, a lot of developers who build apps for Apple's platforms will likely give Swift a more intensive look. While Apple boasts that Swift makes programming easy, it'll take some time to learn how the language works. A new walkthrough by developer David Bolton shows how to build a very simple app in Swift, complete with project files (hosted on SourceForge) so you can follow along. A key takeaway: while some Swift features do make programming easier, there's definitely a learning curve here.

2 of 72 comments (clear)

  1. Re:Embracing the bird by MightyMartian · · Score: 4, Funny

    If you start with PHP, even Brainfuck looks fun and refreshing. Jesus pal, talk about damning a language with faint praise.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  2. Re:Just what we needed... by iluvcapra · · Score: 4, Insightful

    Thank god we have Android Dalvik, where I can use my existing Java ME codebase. Oh wait.

    We're going from Obj-C to Swift, this seems like a pretty lateral move from a "cross platform" perspective. I would have thought the Great Java Wars had taught everyone that true cross-platform development is a chimera that isn't worth either the vendor or developer's effort. Platform vendors compete on features -- cross platform is antithetical to competition on features.

    --
    Don't blame me, I voted for Baltar.