Frost-Lee / Frost-Lee.github.io

Welcome to Frost's Blog, explore the unknown.
https://frost-lee.github.io
5 stars 0 forks source link

Tips for Developing a Swift Playground | Frost's Blog #27

Open Frost-Lee opened 5 years ago

Frost-Lee commented 5 years ago

https://frost-lee.github.io/tip-playground/

ScampDog commented 5 years ago

Hi Frost,

I was trying to run your playground, and am getting a couple of errors about unresolved identifiers, getSpan() and calculateValue(at: index). I'd be grateful if you could fill me in about the details of these. Thanks!

Norm Hecht

Frost-Lee commented 5 years ago

@ScampDog Thanks for the comment. I just checked the playground and it worked fine for me. getSpan and calculateValue are defined and used in ./Sources/SequenceViewController.swift. You can AirDrop N U H M.playground to your iPad and run. Also, make sure you have git clone the repo instead of downloading the zip file since the repo uses Git LFS.

ScampDog commented 5 years ago

I found them, and just got it running. Thanks!