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

Показать описание
This playlist/video has been uploaded for Marketing purposes and contains only selective videos.
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
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