I really liked this tutorial, it laid out the steps to go through very clearly.
I am not sure what this bit is referring to, regarding the data for the vines:
Length is specified in the plist measured in @1x, so you need to multiply by the actual screen scale. You do this because a “fixed” length would either be too loose (for lower resolutions) or too tight (for higher resolutions such as the 6 Plus).
The actual code for getting the length seems to just use it as is:
let length = Int(vineData[“length”] as! NSNumber)
It seems to just be the count of the segments in the vine, so I’m not clear why you would need to scale it.
Thanks for a nice tutorial!
You are absolutely right. That explanation is leftover from a previous version of the tutorial. Will fix!
This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]