Skip to content

Instantly share code, notes, and snippets.

@alexpaul
Last active June 13, 2018 09:12
Show Gist options
  • Save alexpaul/584b20796675c5d7afbf8cef26a44b3b to your computer and use it in GitHub Desktop.
Save alexpaul/584b20796675c5d7afbf8cef26a44b3b to your computer and use it in GitHub Desktop.

Installing Xcode 10 Beta (Release June 4, 2018)

Navigate here to download Xcode 10 beta.

Size of download 5.3GB Installation size is 11.7GB

Xcode 10 beta release notes

Xcode 10 beta requires a Mac running macOS 10.13.4 or later.

Xcode 10 beta includes SDKs for iOS 12, watchOS 5, macOS 10.14, and tvOS 12.

Xcode 10 beta can coexist with previous versions of Xcode.

When installation is complete you can drag the beta install to your Applications folder. Install additional required components as needed.

Swift Language

The new CaseIterable protocol describes types which have a static allCases property that is used to describe all of the cases of the type. Swift will synthesize this allCases property for enums that have no associated values. (SE–0194) (17102392). For example:

enum Suit: CaseIterable {
 case heart
 case club
 case diamond
 case spade
}
print(Suit.allCases)
// prints [Suit.heart, Suit.club, Suit.diamond, Suit.spade]

NB: This year Apple is doing something different with Swift where it's a dot release (4.2) as oppposed to a whole number release. Swift 5.0 is slated to be released in 2019.

Resources Summary
Xcode 10 beta Xcode release notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment