2 Aug 2004 07:59
Re: What do you call an Obj-C method?
Xcode uses NSString -someMethod:arg: in the command-double-click-on-code menu. - Abhi On 02/08/2004, at 1:18 PM, Timothy J.Wood wrote: > > If the class is implied, then either -someMethod:arg: or > +someMethod:arg:. If the class isn't implied then I use -[ClassName > someMethod:arg:] or possibly -[ClassName(CategoryName) > someMethod:arg:]. Basically, what the compiler uses :) > > -tim > > On Aug 1, 2004, at 8:12 PM, David Dunham wrote: > >> So how do people refer to a specific method? I.e. if I want to say >> that the bug was in the someMethod:with:arguments method of a >> particular class (when it's implemented in several)? In C++, I'd say >> it's in SomeClass::someMethodWithArguments(); Java would replace the >> "::" with a period. I don't think I've run across a notation for this >> in Objective-C. > > > > _______________________________________________ > MacOSX-dev mailing list > MacOSX-dev@... > http://www.omnigroup.com/mailman/listinfo/macosx-dev >(Continue reading)
-- Finlay
RSS Feed