         self.textField.textStorage!.setAttributedString(self.appCopyright)
     }
     
-    func windowShouldClose(sender: AnyObject) -> Bool {
+    public func windowShouldClose(sender: AnyObject) -> Bool {
         self.showCopyright(sender)
         return true
     }

        self.infoView.layer!.backgroundColor = NSColor.whiteColor().CGColor
        self.window?.backgroundColor = NSColor.whiteColor()
        self.window?.hasShadow = self.windowShouldHaveShadow

        if self.appName.characters.count <= 0 {
            self.appName = valueFromInfoDict("CFBundleName")
        }

import Cocoa

public class TRexAboutWindowController : NSWindowController {
    public var appName : String = ""
    public var appVersion : String = ""
    public var appCopyright : NSAttributedString
    public var appCredits : NSAttributedString
    public var appEULA : NSAttributedString
    public var appURL : NSURL
    public var textShown : NSAttributedString
    public var windowState : Int = 0
    public var windowShouldHaveShadow: Bool = true
    
    @IBOutlet var infoView: NSView!
    @IBOutlet var textField: NSTextView!
