//
// AppDelegate.swift
// ResponderChain
//
// Created by iDevFans on 16/6/27.
// Copyright © 2016年 http://www.macdev.io. All rights reserved.
//
import Cocoa
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
@IBOutlet weak var window: NSWindow!
func applicationDidFinishLaunching(_ aNotification: Notification) {
// Insert code here to initialize your application
}
func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
}
}
//
// AppDelegate.swift
// ResponderChain
//
// Created by iDevFans on 16/6/27.
// Copyright © 2016年 http://www.macdev.io. All rights reserved.
//
import Cocoa
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
@IBOutlet weak var window: NSWindow!
func applicationDidFinishLaunching(_ aNotification: Notification) {
// Insert code here to initialize your application
}
func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
}
}
//
// FXView.swift
// ResponderChain
//
// Created by iDevFans on 16/6/27.
// Copyright © 2016年 http://www.macdev.io. All rights reserved.
//
import Foundation
import AppKit
class FXView: NSView {
override func scrollWheel(with event: NSEvent) {
NSLog(“scrollWheel (self)”)
}
}
//
// FXWindow.swift
// ResponderChain
//
// Created by iDevFans on 16/6/27.
// Copyright © 2016年 http://www.macdev.io. All rights reserved.
//
import Foundation
import AppKit
class FXWindow: NSWindow {
override func scrollWheel(with event: NSEvent) {
NSLog(“scrollWheel (self)”)
}
}