I have a class which has all methods public. Today I decided to remove some of the methods that I don't need anymore, so I started to clean-up my .m
file.
Now I would like to generate method declarations for my methods from .m
to header file. I have started to copy-paste all lines, deleting implementation and adding ;
at the end, but we live in XXI century and there might be some tools that may do that for me.
Is there any quick way to do that in AppCode and/or XCode? I heard something about accessorizer, but this tool is paid and I can't test it.
I have found application called Accessorizer: http://www.kevincallahan.org/software/accessorizer.html but it's paid and I cannot check if it will solve my problem.
AppCode has many interesting features to ease such things.
You can expose a method by using alt-enter on it:
You can also call a private (non exposed) method, and it will propose you to expose it. (alt-enter on highlighted error)
I often do the opposite, "programming by intuitions" as they call it. First write a call the method that does not exist and it will propose you to create a stub of it (with .h/.m declaration)