Reputation: 4604
Does anyone know if there is a shortcut way in xcode to highlight a method within the .m file and automatically copy it to the .h file (thereby making it public)?
Currently having to copy each method is quite a chore. Looked online but couldn't find anything so thought I would check here.
Upvotes: 2
Views: 1032
Reputation:
Xcode doesn't have this shortcut built in—in general a lot of the fancier refactoring features other IDEs provides Xcode lacks. If you have issues I highly, highly recommend filing a Radar (and then publishing it on Open Radar for others to dupe).
For the time being, though, JetBrains' AppCode provides this functionality along with a few other refactoring tricks.
Upvotes: 1