Swift

bytepunch
bytepunch
iOS Development with Swift Techdegree Student 5,114 Points

When I Cmd- Click on Array I find the Array<Element> struct without any protocol.

When I Cmd- Click on Array I find the Array<Element> struct without any protocol.

Does that mean that there is a major change in swift language? I use Swift 5.0.1 on my machine.

One Weru
One Weru
47,634 Points

You are most welcome.

1 Answer

One Weru
One Weru
47,634 Points

bytepunch, yes there have been major changes in Swift. This course was taught using Swift 3. There have been two major changes (i.e Swift 4 and Swift 5). Thusly, there are breaking changes.

If you wish to use Swift 5, a significant part of this course is absolutely dated. I would recommend using >>> this book on apple books (iBooks): “The Swift Programming Language (Swift 5.1 beta)” by Apple Inc. https://books.apple.com/ke/book/the-swift-programming-language-swift-5-1-beta/id1002622538