Skip to content

The Category of Commonly used controls and you can create a control quickly(Object, Control ...)

License

Notifications You must be signed in to change notification settings

LSRain/LSAdditions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LSAdditions

The Category of Commonly used controls and you can create a control quickly(Object, Control ...)

Support for commonly used controls or objects

Some UI controls and Foundation objects

  • "UIColor+LSAddition"
  • "UILabel+LSAddition"
  • "UIButton+LSAddition"
  • "NSAttributedString+LSAddition"
  • "NSObject+LSAdditon"
  • "UIScreen+LSAddition"
  • "UIViewController+LSAddition"
  • "UIView+LSAddition"
  • "NSString+LSAddition"
  • ...

Instructions

  • Add the header file - LSAddition.h

Usecocopod

pod 'LSAdditions'

Example

/// Set color
self.view.backgroundColor = [UIColor ls_colorWithHex:0xff0000];
/// create a button
[UIButton ls_textButton:@"buttonName" fontSize:14 normalColor:[UIColor ls_colorWithHex:0xff0000] selectedColor:nil];
. . .

Version record

  • June 13, 2017 ~> 0.0.1
  • June 17, 1717 ~> 0.0.2
  • July 04, 2017 ~> 0.0.3
    • Optimized code and added some encryption methods, such as md5, XOR...

License

MIT

About

The Category of Commonly used controls and you can create a control quickly(Object, Control ...)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published