making Swift build succesfully after the merge

This commit is contained in:
Max Moiseev
2016-02-04 16:48:14 -08:00
parent bc684879b6
commit 39fdbca8d0
14 changed files with 34 additions and 37 deletions

View File

@@ -15,7 +15,7 @@
% for Self in ['SKShapeNode', 'SKSpriteNode', 'SKTextureAtlas', 'SKTexture']:
extension ${Self} : CustomPlaygroundQuickLookable {
public func customPlaygroundQuickLook() -> PlaygroundQuickLook {
public var customPlaygroundQuickLook: PlaygroundQuickLook {
// this code comes straight from the quicklooks
let data = (self as AnyObject)._copyImageData?()