Latest 0.0.3
Homepage https://github.com/taewan0530/DeviceFontSize
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

DeviceFontSize is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'DeviceFontSize'

OR

pod 'DeviceFontSize/iPhone_All'
pod 'DeviceFontSize/iPad_All'

pod 'DeviceFontSize/iPhone_4'
pod 'DeviceFontSize/iPhone_5'
pod 'DeviceFontSize/iPhone_6'
pod 'DeviceFontSize/iPhone_6+'

pod 'DeviceFontSize/iPad_Default'
pod 'DeviceFontSize/iPad_Mini'
pod 'DeviceFontSize/iPad_Pro'

Interface Builder

DeviceFontSize

Result

iPhone 4

DeviceFontSize

iPhone 6 Plus

DeviceFontSize

Author

taewankim, [email protected]

License

MIT

References

Inspired by projects:

Latest podspec

{
    "name": "DeviceFontSize",
    "version": "0.0.3",
    "summary": "DeviceFontSize",
    "homepage": "https://github.com/taewan0530/DeviceFontSize",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "taewan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/taewan0530/DeviceFontSize.git",
        "tag": "0.0.3"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "default_subspecs": "All",
    "subspecs": [
        {
            "name": "Core",
            "source_files": "Pod/Core/*.{h,m,swift}"
        },
        {
            "name": "All",
            "source_files": "Pod/**/*.{swift}"
        },
        {
            "name": "iPhone_All",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPhone/*.{h,m,swift}"
        },
        {
            "name": "iPhone_4",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPhone/DeviceFontSizeLabel+iPhone4.swift"
        },
        {
            "name": "iPhone_5",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPhone/DeviceFontSizeLabel+iPhone5.swift"
        },
        {
            "name": "iPhone_6",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPhone/DeviceFontSizeLabel+iPhone6.swift"
        },
        {
            "name": "iPhone_6+",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPhone/DeviceFontSizeLabel+iPhone6plus.swift"
        },
        {
            "name": "iPad_All",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPad/*.{h,m,swift}"
        },
        {
            "name": "iPad_Default",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPad/DeviceFontSizeLabel+iPad.swift"
        },
        {
            "name": "iPad_Mini",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPad/DeviceFontSizeLabel+iPad_Mini.swift"
        },
        {
            "name": "iPad_Pro",
            "dependencies": {
                "DeviceFontSize/Core": []
            },
            "source_files": "Pod/iPad/DeviceFontSizeLabel+iPad_Pro.swift"
        }
    ]
}

Pin It on Pinterest

Share This