A collection of playground demonstrating the use of the Swift Standard Library
Swift CSS Shell
Permalink
Failed to load latest commit information.
GeneratorsSequencesCollections.playground
SequenceAndCollectionFunctions.playground
SequenceAndCollectionFunctionsSwifter.playground
Zip2.playground Added Zip2.playground Oct 2, 2014
src
transcode.playground
.gitignore
.travis.yml
LICENSE
README.md Improved playground listing in README.md Oct 15, 2014

README.md

SwiftStandardLibraryPlaygrounds

A collection of playground demonstrating the use of the Swift Standard Library

The Swift Standard Library is, at the time of writing, rather poorly documented and examples of some of types, functions, enums, structs, protocols, and classes (I call these items from now on) are hard to come by.

This repository is a companion to a set of posts on iosdeveloperzone.com that attempts to provide a simple explanation of what each item does and a short example of its use.

The current playgrounds are:

Playground Description
GeneratorsSequencesAndCollections.playground GeneratorType, SequenceType and CollectionType
SequenceAndCollectionFunctions.playground Functions that operate on SequenceType and CollectionType (e.g map, reduce)
Zip2.playground Combining two arrays
transcode.playground Transcoding between Unicode formats with transcode