Syntax changes in Swift/Xcode 6b3

Xcode 6b3 requires a few Swift syntax changes:

- .. to ..<
- T[] to [T]
Merge pull request #7 from iluuu1994/master

Syntax changes in Swift/Xcode 6b3
Changing the way Selectors are defined for the swipe gesture recognizers. This shouldn't change the functionality at all; it's strictly for didactic purposes.
confirming with ios 8b5 swift language features
removing unncessary class keyword in protocol
removing white space
Revert "removing unncessary class keyword in protocol"

This reverts commit 79d5ae9c84625a08f7e44ae43a491c5638400462.
minimal changes w.r.t to upstream
Merge pull request #9 from balaji/master

language feature changes in Xcode 6b5
Additional changes to cope with Beta 6 (which apparently doesn't like nested fns)

NOTE: You may need to clean your build folder for this to build correctly.