What is the recommended method of styling an iOS app?

前端 未结 7 1363
一个人的身影
一个人的身影 2020-12-14 17:46

What is the recommended method of styling an iOS app? For example, if there are multiple labels or text views how can updating font style/color at one place update the style

7条回答
  •  生来不讨喜
    2020-12-14 18:37

    You can use a third-party abstraction of UIAppearance:

    • NUI: https://github.com/tombenner/nui
    • Pixate: http://www.pixate.com

    Using a Storyboard has a lot of benefits, but many style options aren't available, not the least of which is custom fonts. If you want a deeply-customized UI, you will need some style code to make it happen.

提交回复
热议问题