Skip to main content

Swift

See All Stories

Apple releases OS X Yosemite Developer Preview 5 with Safari improvements, UI changes

Site default logo image

Screen Shot 2014-08-04 at 10.04.51 AM

Apple this morning has released OS X 10.10 Yosemite Developer Preview 5. The new update brings various performance improvements and bug fixes. The previous Developer Preview brought some minor user-interface enhancements and significant speed improvements. Apple also released iOS 8 beta 5. We’ll be updating this post live with new discoveries as they are made. You can send us what you find to tips@9to5mac.com. You can find what’s new in this developer preview, below:


Expand
Expanding
Close

Apple launches blog to highlight new Swift programming language

Site default logo image

Screen Shot 2014-07-11 at 10.43.11 AM

Apple has launched a blog on its official developer website to promote the new Swift programming language. Swift, which was announced at WWDC 2014, is a successor to the Objective-C programming language for iOS and OS X, and it provides new, cleaner, and more robust tools for developing applications. The blog will be dedicated to Apple engineers working on Swift sharing tidbits behind the language’s development as well as hints. Here’s the first Swift blog post:

Welcome to Swift Blog

This new blog will bring you a behind-the-scenes look into the design of the Swift language by the engineers who created it, in addition to the latest news and hints to turn you into a productive Swift programmer.

Get started with Swift by downloading Xcode 6 beta, now available to all Registered Apple Developers for free. The Swift Resources tab has a ton of great links to videos, documentation, books, and sample code to help you become one of the world’s first Swift experts. There’s never been a better time to get coding!

– The Swift Team

Additionally, the blog now discusses Swift and its compatibility with current and future versions of Apple software. You can read those details below:


Expand
Expanding
Close

Site default logo image

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

Screen Shot 2014-07-07 at 19.26.39

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.

Site default logo image

Easter egg in icons for Swift files features ‘Here’s to the crazy ones’ from Think Different campaign

BpYC1VmIgAEuhnX

In a throwback to Apple’s Think Different campaign, the icon used by OS X for Swift files, Apple’s new programming language. Swift documents have the file extension ‘.swift’.

The code seen in the icon makes reference to the iconic speech, with functions named ‘heresToTheCrazyOnes’ and ‘villify(troubleMaker: NSObject)’. The code also generates collections of ‘misfits’, ‘rebels’ and ‘troublemakers’.


Expand
Expanding
Close

Site default logo image

Flappy Bird recreated in Swift, Apple’s programming language announced just hours ago

687474703a2f2f692e696d6775722e636f6d2f314e4c6f546f552e676966

Okay, it may just be Flappy Bird, the addictive game that once took over the news cycle for days and still threatens to return again some day, but the thing here is it was written in Apple’s new programming language for developers called Swift. What’s so special about that? Swift was only announced yesterday, less than 24 hours ago, so what this simple Flappy Bird clone really means is Swift is off to a good start given its only a few hours old. You can view the code for the Swift version of Flappy Bird by Nate Murray on Github, and read more about Apple’s new programming language Swift on iBooks.

Apple publishes Swift programing language guide on iBooks

Site default logo image

Swift-language-02

Apple just announced its new Swift programming language at WWDC, and has already published a free guide for developers looking to learn the language.

Swift is a new programming language for creating iOS and OS X apps. Swift builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works.

This book provides:
– A tour of the language.
– A detailed guide delving into each language feature.
– A formal reference for the language.

You can grab the guide on iBooks right now.


Expand
Expanding
Close

Apple announces new Xcode, ‘Swift’ programming language

Site default logo image

iOS Simulator Screen shot 2 Jun 2014 19.46.26

Apple has introduced a brand new programming language alongside a brand new version of Xcode.

Swift is a big deal for developers. The language includes loads of features third-party developers have been asking for. It sits alongside Objective-C and C, meaning developers can interchange between languages in the same project.


Expand
Expanding
Close

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
Please wait...processing
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
Please wait...processing