Xcode: Possible to auto-create stubs for methods required by Protocol interface?

后端 未结 10 1108
心在旅途
心在旅途 2020-12-13 08:41

Coming from an Eclipse / Java background, one of my favorite features is the ability to quickly stub out all the methods required by an interface. In Eclipse, I can choose

10条回答
  •  时光取名叫无心
    2020-12-13 09:07

    Your can create scripts for the scripting menu item in AppleScript, Perl, Python, Ruby, or any other scripting language that go in the scripting menu.

    Your could place the insertion point in the .m file and have the script look up the corresponding .h file. Locate the protocols supported and so forth...

    MacTech ran an article in 2007 Xcode Menu Scripts

提交回复
热议问题