iAppearance (UI Elements)

\ \

 

Customize your iOS applications with iAppearance like never before with a line of code ! . You can customize UI objects such as :

 

  • UINavigationBar
  • UIToolbar
  • UITextField
  • UIButton
  • UIBarButtonItem
  • UISwitch
  • UISlider
  • UISegmentedControl
  • UITabBar

 

Getting Started :

 

  1. Drag MKAppearance classes [.h/.m] to your project 
  2. Import MKAppearance class into your header file : 

 

#import "MKAppearance.h" 

 

        3. implementing the MKAppearance protocol :

 

 MKAppearance *appearance = [[MKAppearance alloc]init];

 

Now it’s time to customizing ! 

 

UINavigationBar & UIBarButtonItem & UIToolBar

 

\

  [appearance customNavigationBar:navBar setImage:@"naBar.png"];

[appearance customBarButton:barButton setBackgroundImage:@"nav-button.png"];

UITextField

\

[appearance customTextField:textField setBGImage:@"textField.png" resizableImageWithCapInsets:UIEdgeInsetsMake(15, 5, 15,5)];

 

UIButton

\

[appearance customButton:button normalImage:@"button_n.png" highlightedImage:@"button_h.png" stretchableImageWithLeftCapWidth:0 topCapHeight:0];

 

UISwitch

\

[appearance customSwitch:switcher setImagePattern:@"switchPattern.png"];

 

UISlider

\

 [appearance customSlider:slider setMinImage:@"max.png" setMaxImage:@"min.png" setThumbImage:@"sliderThumb.png"];

 

UISegmentedControl

\


 [appearance customSegmentedControl:segment 

                       segmentSelected:@”segcontrol_sel.png” 

                     segmentUnselected:@”segcontrol_uns.png” 

             segmentSelectedUnselected:@”segcontrol_sel-uns.png” 

                 segUnselectedSelected:@”segcontrol_uns-sel.png” 

           segmentUnselectedUnselected:@”segcontrol_uns-uns.png”];

 

UITabBar

\

[appearance customTabBar:tabBar setTabBarBackgroundImage:@"tabBar.png" setSelectionIndicatorImage:@"tabIndicator.png"];

 

NOW THE RESUALT :

\

 

 

 

UI designed by :

www.MediaLoot.com

Download iAppearance (UI Elements)

Leave a Reply

Your email address will not be published. Required fields are marked *