How to rename the IBOutlet property without lose the connection

前端 未结 4 2012

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:09

    I put my two cents in. I tried to refactor several similar IBOutlet-s and ended to complete successfully only one - the first one.

    All others outlets of this type throw me the error on refactoring:

    Project and XCode reloading doesn't solve the problem. I checked *.xib source - the first one is fine: My XCode ver 9.2(9C40b)

提交回复
热议问题