Hi.I read this long long thread. And too me #example is good common name for any kind of examples. I really don't want to think what pragma I should use for concrete scenario. All existed methods are just examples. No care is they return instances or not.
So I am not understand what the problem with example methods which not return instance of class?
And what concrete tool you try to implement?
If it is special "examples" tab when inpecting/browsing classes why it should be restricted to working only with instances of given class?
Your tool can analize result of example method and provide different kind of interfaces. And with instance of selected class it will work as you already implemented.
And with example from Athens it can provide tools to control tiger demo (for example)Best regards,Denis2015-04-09 9:48 GMT+03:00 Tudor Girba <tudor@tudorgirba.com>:I would not do that. I think that removing the example pragma check is sufficient for now. Could we do it?Cheers,Doru--On Wed, Apr 8, 2015 at 5:16 PM, Nicolai Hess <nicolaihess@web.de> wrote:2015-04-08 10:20 GMT+02:00 Tudor Girba <tudor@tudorgirba.com>:And, to have a better chance of having a clean slate discussion later on in which to consider the value we associate to names, I would like to remove the <example> check from isExampleMethod and continue to preserve the treatment of #example* selectors in Nautilus.Wouldn't we need to change the check to:
isExampleMethod
���� if selector starts with 'example' *AND HAS NOT* a <example> (or <gtExample>) pragmabecause there are tons of #example* methods, some of them open an example and some of them with the pragma, create an instance for the inspector?��