adapted MixedDrawExample for the new Swift syntax in Xcode 6.0 beta 3