Latest 0.0.1
Homepage https://github.com/nhfc99/NHFFontUnit
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, CoreGraphics, UIKit
Authors

介绍

用于对字体设置的常用方法

安装

  • pod ‘NHFFontUnit’
  • 手动下载然后将文件夹拖至工程中即可

使用方法

/**

  • 设置字体
  • */

    • (UIFont )fontByName:(NSString )fontName
      fontSize:(CGFloat)fontSize;

Latest podspec

{
    "name": "NHFFontUnit",
    "version": "0.0.1",
    "summary": "u7528u4e8eu5bf9u5b57u4f53u8bbeu7f6eu7684u5e38u7528u65b9u6cd5",
    "homepage": "https://github.com/nhfc99/NHFFontUnit",
    "license": "MIT",
    "authors": {
        "u725bu5b8fu98de": "[email protected]"
    },
    "source": {
        "git": "https://github.com/nhfc99/NHFFontUnit.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "UIFont+Unit/*.{h,m}",
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This