Code Examples from CocoaConf Boston 2014
*CocoaConf Playgrounds was inspired by Rick Ballard and Connor Wakamo’s talk at WWDC who are on the Xcode Engineering team.
Download the complete workspace to view all of the code samples in one bundle.
To locate the resources folder, open the File Inspector (View > Utilities > Show File Inspector) and select the arrow icon under Resource Path. View a url snippet by clicking the Quick Look tool, and selecting the sub-Quick Look icon to the right of the url. Build up a table view and view it in the timeline by calling reloadData(). Learn how to use playgrounds for everyday algorithm development and graphing displays via for-loops. Learn how to implement the XCPlayground framework XCPCaptureValue function, to visualize results throughout the course of an algorithm. Inspired by Sam Davies' iOS8 Day-by-Day post, learn how to use XCPShowView to view and record a live animation of a cycloid.