Latest0.0.1
Homepagehttps://github.com/k06a/RTLButton
LicenseMIT
Platformsios , requires ARC
Authors

UIButton subclass with image and title aligned Right To Left

You will be able to see RTLButton right in Xcode IB:

RTLButton

Usage

Right now CocoaPods solution not works properly because of Xcode bug:

pod 'RTLButton'

So just copy source code to your project or add git submodule:

git submodule add https://github.com/k06a/RTLButton RTLButton

Contribute

Please develop TTBButton (Top To Bottom) class and BTTButton (Bottom To Top) subclass with inverse logic :)

Latest podspec

{
    "name": "RTLButton",
    "version": "0.0.1",
    "summary": "UIButton subclass with image and title aligned Right To Left",
    "description": "                   Wanna align image and text of UIButton in reverse order? Just use `RTLButton`n                   and your button content will be right to left aligned even in storyboard :)n",
    "homepage": "https://github.com/k06a/RTLButton",
    "license": "MIT",
    "authors": {
        "Anton Bukov": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/k06a/RTLButton.git",
        "tag": "0.0.1"
    },
    "source_files": "*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This