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

2 comments
Comment actions Permalink

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

0
Comment actions Permalink

Sweet - that's what I was looking for!
:)

Cheers,
Jay

0

Please sign in to leave a comment.