Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 379 Bytes
//
// GameView.swift
// SwiftScreenSaver
//
// Created by Patrick Winchell on 1/22/16.
// Copyright © 2016 Patrick Winchell. All rights reserved.
//
import Cocoa
import SpriteKit
class GameView: SKView {
override var acceptsFirstResponder: Bool { return false }
override var frame: NSRect {
didSet {
scene?.size = frame.size
}
}
}
You can’t perform that action at this time.