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

后端 未结 10 1113
心在旅途
心在旅途 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:10

    Xcode 3.2 will autocomplete known method implementations. In other words, if the method is declared somewhere (for example, in a protocol), when you start to type it in a .m file, Xcode 3.2 will autocomplete the method signature for you. This isn't quite what you asked for, but it is awfully handy.

提交回复
热议问题