iOS-Localize-Constrain 0.0.9

iOS-Localize-Constrain 0.0.9

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2015

Maintained by hamdy.



  • By
  • Ahmed Hamdy

Localize-Constrain-On-The-Fly

Why iOS-Localize-Constrain ?

  • No more xibs or storyboard for RTL and LTR.
  • No more fake splash screen.
  • No more write constrain to flip views.
  • No more requests for close app.
  • No more ask for change device language.

Now localization of views is simple , only fews of lines in viewDidLoad for each viewcontroller or create parent controller

How to use it ?

#import "UIViewController+LocalizeConstrint.h"
#import "UIView+viewRecursion.h"

in viewDidLoad

 //check if language is Arabic will loop for all view and flip constrain
     if (GetAppLanguage() == UILanguageArabic) {
         for (UIView *tempView in [self.view allSubViews]) {
            [self changeViewRTL:tempView];
        }
    }

This image is old , Run demo to show more.

Localize

Install using pod

pod 'iOS-Localize-Constrain'  , '~> 0.0.8'

Todo List

  1. Enhance Read.Me
  2. Create swift Extension