Skip to content

hoanguyen/Swift-3-Object-Oriented-Programming

 
 

Repository files navigation

#Swift 3 Object Oriented Programming - Second Edition This is the code repository for Swift 3 Object Oriented Programming - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Swift has quickly become one of the most-liked languages and developers’ de-facto choice when building applications that target iOS and macOS. In the new version, the Swift team wants to take its adoption to the next level by making it available for new platforms and audiences ##Instructions and Navigation All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

let bodyTemperature1 = HKQuantity(unit: degCUnit, doubleValue: 35.2)

let bodyTemperature2 = HKQuantity(unit: degFUnit, doubleValue: 95)


print(bodyTemperature1.description)

print(bodyTemperature2.description)


if bodyTemperature1.is(compatibleWith: degFUnit) {
   
   print("Temperature #1 in Fahrenheit degrees:     \(bodyTemperature1.doubleValue(for: degFUnit))")

}

In order to work with Xcode 8.x and the Swift Playground, you will need a Mac computer capable of running OS X 10.11.5 or later, with 8 GB RAM.

In order to work with Swift 3.x open source version in the Linux platform, you will need any computer capable of running Ubuntu 14.04 or later, or Ubuntu 15.10 or later. These are the Linux distributions where the Swift open source binaries have been built and tested. It it also possible to run the Swift compiler and utilities on other Linux distributions. You must check the latest available documentation at the Swift open source website: https://swift.org.

In order to work with the web-based IBM Swift Sandbox, you will need any device capable of executing a modern web browser.

##Related Products

###Suggestions and Feedback Click here if you have any feedback or suggestions.

About

Code repository for Swift 3 Object-Oriented Programming is published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Swift 100.0%