Skip to content
/ LXKit Public

LXKit with some category, UIKit components, etc.

License

Notifications You must be signed in to change notification settings

lyonxu/LXKit

Repository files navigation

LXKit

LXKit with some category, UIKit components, etc.

Category

1、UIView+LXGradient

Set gradient background to UIView,including UIView、UILabel、UIButton, ect.

2、NSData+LXImageContentType

Get the content type of an image.

3、NSString+LXSecurity

Things about security, such as getting secure file name.

4、NSString+LXLength

Calulate the number of charactor.

5、NSObject+LXLogProperties

Log all properties and values on Console (Only first level property, nested customed object is not supported).

6、UIView+LXFrame

A category of UIView that can set the frame conveniently.

View

1、LXNavigationBar

A customized navigation bar.

2、LXCollectionViewLeftOrRightAlignedLayout

A subclass of UICollectionViewFlowLayout that can be set left or right algned.

3、LXGradientView

Create a gradient view.

4、LXSlideIndicator

Create a customized scroll bar while using a UIScrollView, like UICollectionView、UITableView etc.

LXSlideIndicator demo

Installation

CocoaPods

1.Add pod LXKit to your Podfile.

2.Run pod install or pod update.

3.Import <LXKit/LXKit.h>.

Manually

1.Download all the files in the LXKit subdirectory.

2.Add the source files to your Xcode project.

About

LXKit with some category, UIKit components, etc.

Resources

License

Stars

Watchers

Forks

Packages

No packages published