Skip to content

Commit

Permalink
Use #selector
Browse files Browse the repository at this point in the history
  • Loading branch information
devxoul committed Apr 11, 2016
1 parent 63f741e commit 5043705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JLToast/JLToastCenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import UIKit
self._queue.maxConcurrentOperationCount = 1
NSNotificationCenter.defaultCenter().addObserver(
self,
selector: "deviceOrientationDidChange:",
selector: #selector(self.deviceOrientationDidChange),
name: UIDeviceOrientationDidChangeNotification,
object: nil
)
Expand Down

0 comments on commit 5043705

Please sign in to comment.