ios - How to rename storyboard and have links from other storyboards preserved -
i have 2 storyboards in xcode project.
first named main
, second settings
. main
storyboard has storyboard reference settings
.
i want rename settings
storyboard appsettings
. when rename through xcode project navigator, main
storyboard reference settings
not automatically updated , project fails compile.
of course, can manually update broken reference, wonder there way of renaming storyboard in xcode automatically update existing storyboard references?
yes, xcode's find navigator can perform find & replace operation includes references inside storyboards. search "settings" , replace "appsettings". click "preview" can choose relevant instances of "settings" replace (i'm assuming word appear in unrelated places, since it's rather common.) afterwards, still have rename file usual.
Comments
Post a Comment