Skip to content

Instantly share code, notes, and snippets.

@naoya
Created July 20, 2013 06:08
Show Gist options
  • Save naoya/6044042 to your computer and use it in GitHub Desktop.
Save naoya/6044042 to your computer and use it in GitHub Desktop.
http://colinta.com/thoughts/editable_uitableview_like_a_boss.html
このページにある例 (http://cdn.bloghackers.net/images/20130720_150337.png) を見ても、
NSNotificationCenter.defaultCenter.addObserver のセレクタで指定したメソッドは引数なし
になってますが、iOS SDK の NSNotificationCenter のドキュメントには
> The method specified by notificationSelector must have one and only one
> argument (an instance of NSNotification).
と書いてます。
selector で指定したメソッドは第一引数を持ってないといけないはず。
RubyMotion の仕様が Objective-C のと違う?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment