Swift 4 Protocol-Oriented Programming :Swift as Object-Oriented Programming Lang|packtpub.com

Published on 14 Oct 2018 / In SwiftLang

This playlist/video has been uploaded for Marketing purposes and contains only selective videos.

For the entire video course and code, visit [http://bit.ly/2Am0IOt].

Swift provides full support for developing applications in an object-oriented way. Prior to Swift 2, Swift is primarily an object-oriented language in the same way as Java and C#. Here, we will be designing the vehicle types in an object-oriented way and looking at the advantages and the disadvantages of this design.
• Look at the basic class diagram that shows how we would design the vehicle class hierarchy
• Create a TerrainType enumeration that will be used to define the different vehicle
• Create some getter methods that will retrieve the values of the properties.

For the latest Application Development tutorials, please visit

Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

Show more
0 Comments sort Sort by