Search code examples
iosxcodereplacefontsxib

Is there any easier way to replace all the fonts that are set into the xib in xcode?


I want to replace a font family in xcode, what is the easier way to do it, one way is to go to every xib file and set the font again screenshot


Solution

  • You can do it by opening the xib file as "Open as source code"

    xcode

    Now use Find and Replace [CMD + ALT + SHIFT + F] and replace the current font family with your font family.

    FindAndReplace

    You can do this for all of your storyboards or xib files