How to rename the IBOutlet property without lose the connection

前端 未结 4 2030

I work with old project and in some part of the project, the naming convention is not good so I want to change it.
For example:

@property (weak, nonatomi         


        
4条回答
  •  情话喂你
    2020-12-15 08:16

    This is what I usually do

    1. Right Click the IBOutlet name,then selected Find Selected Text in Workspace

    1. Click find,then selected replace

    3.Replace to the name you want

    4.You can click Replace All if you are sure. You can also to click preview to Replace every single change

提交回复
热议问题