Skip to main content

Apple’s new coding language Swift receives significant update for developers alongside new Yosemite and iOS seeds

As part of the updates to the Yosemite and iOS betas today, Apple’s new coding language Swift has received several major improvements and tweaks to make the language more consistent and help developers make better, safer apps. The intricacies of the changes are very gibberish to non-developers, but the fixes resolve many of the issues that developers had been requesting. In particular, the new value type model of arrays fixes several inconsistencies and prevents many potential code ‘gotchas’ that could arise in previous Swift builds.

Apple has also updated the ‘Introducing Swift’ iBook to reflect the improvements, if you want to learn in more detail about the changes.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

  1. dugbug - 10 years ago

    Just get rid of half closed ranges.

    • degraevesofie - 10 years ago

      “Just get rid of half closed ranges.”

      On the contrary: If you want to get rid of a variety, get rid of the closed ones, which don’t have a proper algebra. I do like the new notation: Much clearer.

  2. voldzi - 10 years ago

    Not the hardware but this is the future of Apple… I can’t wait to change all my games to swift! My students will be more than happy!

  3. Tim Jr. - 10 years ago

    NSArray… NSA.. ewwww.. knew they were in there! watch out! :p

  4. Taste_of_Apple - 10 years ago

    Reblogged this on Taste of Apple and commented:
    Definitely good news for iOS developers. Hopefully, it leads to some innovative ideas.

  5. For a person that has zero programming experience, but lots of good ideas that he’d like to turn into apps, were would they start?

    • Andree Markefors - 10 years ago

      Draw/build your app completely on paper, to straighten your thoughts out. Test concept on friends. Listen to feedback. Iterate.

      If you can design, draw the assets (or shoot the photos/video).

      Decide how much you want to invest all in all and then hire a developer to put the code together. Upload to AppStore.

      Fail/do well.

      There’s nothing to it really. Coding is certainly not a necessity.

  6. degraevesofie - 10 years ago

    Excellent changes. The array semantics were a complete screw-up before. I’m glad they went with value semantics!

  7. Ciro Gutenberg - 10 years ago

    Course for learning app development with Swift http://www-udemy.com/swiftdeveloper

Author

Avatar for Benjamin Mayo Benjamin Mayo

Benjamin develops iOS apps professionally and covers Apple news and rumors for 9to5Mac. Listen to Benjamin, every week, on the Happy Hour podcast. Check out his personal blog. Message Benjamin over email or Twitter.