The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Ozren Harlovic (28) [Avatar] Offline
From a reader:
You are describing enumerated() method but it seems that current version of xcode uses enumerate() (without ā€˜dā€™) - page 41 of iOS_Development_with_v1_MEAP.pdf
Craig Grummitt (50) [Avatar] Offline
Hi Ozren, thanks for the feedback.

What you've encountered is one of the many differences between Swift 2 and 3. (The method is `enumerated` in Swift 3, and `enumerate` in Swift 2.) If you're using Xcode 7 you'll be using Swift 2 and will find some differences with the book, which has been updated for Swift 3.

Xcode 8 uses Swift 3 and will be out in the next month or so, but if you're interested in checking the beta now and playing with Swift 3, you can download it here: