A collection of playground demonstrating the use of the Swift Standard Library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GeneratorsSequencesCollections.playground
SequenceAndCollectionFunctions.playground
SequenceAndCollectionFunctionsSwifter.playground
Zip2.playground
src
transcode.playground
.gitignore
.travis.yml
LICENSE
README.md

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