Permalink
Browse files

Use #selector

  • Loading branch information...
1 parent e532580 commit 31295075fcd2b2fc0c008fe0ec022121a4d724a7 @soffes committed Mar 22, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 Preview/Sources/PreviewWindowController.swift
@@ -22,7 +22,7 @@ class PreviewWindowController: NSWindowController {
window?.contentView = screenSaver
- NSTimer.scheduledTimerWithTimeInterval(screenSaver.animationTimeInterval, target: screenSaver, selector: "animateOneFrame", userInfo: nil, repeats: true)
+ NSTimer.scheduledTimerWithTimeInterval(screenSaver.animationTimeInterval, target: screenSaver, selector: #selector(CountdownView.animateOneFrame), userInfo: nil, repeats: true)
}

0 comments on commit 3129507

Please sign in to comment.