Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Swift

bytepunch
seal-mask
.a{fill-rule:evenodd;}techdegree
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.

Dan Weru
Dan Weru
47,649 Points

You are most welcome.

1 Answer

Dan Weru
Dan Weru
47,649 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