Skip to content

novall/CocoaConf_Playgrounds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

CocoaConf_Playgrounds

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.

1. Attributed Strings

Using the Quick Look tool, see how an attributed string might look as you add attributes.

2. Views

See how a view might look as you add additional subviews and background colors.

3. Numerical Values

Open the assistant editor to see a graphical representation of numerical values over time.

4. Images

Learn how to work with your own resources by adding an image to the resources folder.
To locate the resources folder, open the File Inspector (View > Utilities > Show File Inspector) and select the arrow icon under Resource Path.

5. URLs

View a url snippet by clicking the Quick Look tool, and selecting the sub-Quick Look icon to the right of the url.

6. UITableView

Build up a table view and view it in the timeline by calling reloadData().

7. Algorithms - Insertion Sort

Learn how to use playgrounds for everyday algorithm development and graphing displays via for-loops.

8. XCPCaptureValue

Learn how to implement the XCPlayground framework XCPCaptureValue function, to visualize results throughout the course of an algorithm.

9. XCPShowView

Inspired by Sam Davies' iOS8 Day-by-Day post, learn how to use XCPShowView to view and record a live animation of a cycloid.

About

Code Examples from CocoaConf Boston 2014

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages