Latest 0.1.0
Homepage https://github.com/byzyn4ik/RMStyleManager
License MIT
Platforms ios 8.0
Dependencies UIColor+InputMethods, UIImage+ImageWithColor
Frameworks UIKit
Authors

[![CI Status](http://img.shields.io/travis/Maks Petrovsky/RMStyleManager.svg?style=flat)](https://travis-ci.org/Maks Petrovsky/RMStyleManager)
Version
License
Platform

About

RMStyleManager is style manager for your application working in xibs, storyboards and from code.
You can simply set style filed in component user info to set style.
To define style simply create category for RMStyleManager.
The style string from compenent will use style from Style Manager.

If you wanna have dynamic styles , you can simply use:

+ (id)style1
{
  ....
}

+ (id)style2
{
  ....
}

+ (id)dynamicStyle
{
  if (condition)
  {
    return [self style1];
  }
  return [self style2];
}

To reload all styles call :

[RMStyleManager reloadAllStyles];

Usage

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

Requirements

Installation

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

pod 'RMStyleManager', :git => 'https://github.com/byzyn4ik/RMStyleManager'

Author

Maks Petrovsky, [email protected]

Alexander Balabanov , [email protected]

License

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

Latest podspec

{
    "name": "RMStyleManager",
    "version": "0.1.0",
    "summary": "RMStyleManager is style manager for your application working in xibs, storyboards and from code.",
    "description": "RMStyleManager is style manager for your application working in xibs, storyboards and from code. You can simply set style filed in component user info to set style. To define style simply create category for RMStyleManager. The style string from compenent will use style from Style Manager.",
    "homepage": "https://github.com/byzyn4ik/RMStyleManager",
    "license": "MIT",
    "authors": {
        "Maks Petrovsky": "[email protected]"
    },
    "source": {
        "git": "https://github.com/byzyn4ik/RMStyleManager.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "RMStyleManager/Classes/**/*",
    "resource_bundles": {
        "RMStyleManager": [
            "RMStyleManager/Assets/*.png"
        ]
    },
    "frameworks": "UIKit",
    "dependencies": {
        "UIColor+InputMethods": [],
        "UIImage+ImageWithColor": []
    }
}

Pin It on Pinterest

Share This