Refactoring to make Obj-C method visible? Jan Barnholt 创建于 2014年01月31日 22:53 Is it possible to automatically add a declaration for a method that's used/defined only within in the class?I.e. the Objective-C equivalent of a make method public refactoring?Cheers,Jay
Hi Jay,
If your insertion point is in the method declaration (name, param list, return type), you can type option-enter
to get a list of possible intention actions. One of these is to declare the method in the interface, which should
do what you want.
Cheers,
Maarten
Sweet - that's what I was looking for!
:)
Cheers,
Jay