Refactoring to make Obj-C method visible?
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
Please sign in to leave a comment.
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