Author Topic: New Xcode 7 and examples  (Read 3830 times)

stvekn

  • Newbie
  • *
  • Posts: 1
    • View Profile
New Xcode 7 and examples
« on: September 22, 2015, 10:37:43 AM »
I have just bought the book and reached the first example using SwiftDemo.

Should I let Xcode update the example code to run on new Xcode7 and will the newly released OS9 make a difference to coding too?

Thanks Steve

Edward_JS

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: New Xcode 7 and examples
« Reply #1 on: September 28, 2015, 05:09:30 PM »
I did so, and there are some things that need to be updated.

first: println is now just "print"
second: in Chapter 9, type properties are now declared with "static" keyword instead of class keyword.

I had to look into the online documentation to find this information.

Is there a post from the author as to the changes made in Swift, that will affect the book, Learning to Code in Swift?