Disable Swift 3 @objc inference

This commit is contained in:
Eryn Wells 2018-10-05 13:50:21 -07:00
parent cb516f6cf1
commit 39001b0ffa
3 changed files with 4 additions and 5 deletions

View file

@ -260,8 +260,7 @@ public class Field {
// MARK: - Notifications
@objc
func preferencesDidChange(note: Notification) {
@objc func preferencesDidChange(note: Notification) {
guard let userInfo = note.userInfo else { return }
var didChange = false
if let style = userInfo["colorStyle"] as? ColorStyle {