質問編集履歴

1

\.handleKeyboardWillBeShownNotification\(;:\)\)→\.handleKeyboardWillBeShownNotification\(_:\)\)

2016/09/23 10:11

投稿

Masanari2000
Masanari2000

スコア15

test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  let notificationCenter = NotificationCenter.default
14
14
 
15
- notificationCenter.addObserver(self, selector: #selector(NewVocabularyNotebook.handleKeyboardWillBeShownNotification(:)), name: UIKeyboardWillShowNotification, object: nil)
15
+ notificationCenter.addObserver(self, selector: #selector(NewVocabularyNotebook.handleKeyboardWillBeShownNotification(_:)), name: UIKeyboardWillShowNotification, object: nil)
16
16
 
17
17
  notificationCenter.addObserver(self, selector: #selector(NewVocabularyNotebook.handleKeyboardWillBeHiddenNotification(_:)), name: UIKeyboardWillHideNotification, object: nil)
18
18