orff / swiftScreenSaver

Swift source from a blog post on creating a swift screen saver with SceneKit
http://blog.viacom.tech/2016/06/27/making-a-macos-screen-saver-in-swift-with-scenekit/
14 stars 4 forks source link

Swift 3 compatibility #1

Closed michela closed 7 years ago

michela commented 7 years ago

Thanks for this sample. I've forked and upgraded this to work with Swift 3 but still struggling with syntax.

I've set the SCNView options to nil here because couldn't get past this error

Cannot convert value of type '[SCNView.Option : UInt]' to expected argument type '[String : Any]?'

https://github.com/modprods/swiftScreenSaver/blob/master/MySwiftScreenSaver/swiftSS.swift#L83

orff commented 7 years ago

Sorry, just noticedthat and the PR that fixed it. All merged in.

orff commented 7 years ago

PR fixed this issue and others.