Skip to content

juanip027/LocalizedStoryboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalizedStoryboard

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.

About

A simple localization approach for Storyboards.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors