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

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

    In My case Below style helps me much, In a sense solved my problem.

    Suppose you have following method declaration:

    +(DBManager*)getSharedInstance;
    

    From Implementation file you start typing +ge and xcode will automatically choose method

    +(DBManager*)getSharedInstance;
    

提交回复
热议问题