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.
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 |