Latest 0.1.4
Homepage https://github.com/juanip027/LocalizedStoryboard
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Usage

It’s a very simple just use LSButton, LSNavigationItem, etc in your Storyboard and that’s it.

e.g.: if you use LSLabel as custom class in the storyboard, when it is loaded it will localize the text property, using the current property value as a lookup key in Localizable.strings.

It includes a subclass for every UIKit control localizable in the Storyboard.

Storyboard

lighten and darken color

Storyboard Inspector

lighten and darken color

Localizable.strings

lighten and darken color

Result

lighten and darken color

Requirements

Swift 2

Installation

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

pod "LocalizedStoryboard"

Example App

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

Author

juanip027,

License

LocalizedStoryboard is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "LocalizedStoryboard",
    "version": "0.1.4",
    "summary": "A simple localization approach for Storyboards.",
    "description": "This library includes a subclass for every UIKit control available in Interface Builder.ni.e: If you replace UILabel with LSLabel in your Storyboard, the "text" property will be localized using the current value as a key in the Localizable.strings file.",
    "homepage": "https://github.com/juanip027/LocalizedStoryboard",
    "license": "MIT",
    "authors": {
        "juanip027": "[email protected]"
    },
    "source": {
        "git": "https://github.com/juanip027/LocalizedStoryboard.git",
        "tag": "0.1.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "LocalizedStoryboard": [
            "Pod/Assets/*.png"
        ]
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This