RubyCocoa - List Method Names For an Object


/ Published in: Ruby
Save to your folder(s)

Returns an Array of methods an Object has. This is useful when trying to figure out what method an object has.


Copy this code and paste it in your HTML
  1. puts (sender.objc_methods - Object.methods)

Report this snippet


Comments


You need to login to view comments.