Skip to content

NKFrameLayout is a super fast and easy to use layout library for iOS and tvOS

License

Notifications You must be signed in to change notification settings

kennic/NKFrameLayoutKit

Repository files navigation

NKFrameLayoutKit

Version License Platform

NKFrameLayout is a super fast and easy to use layout library for iOS and tvOS.

The Objective-C version is deprecated, please check the Swift version here: FrameLayoutKit

Example

Grid Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

NKFrameLayoutKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NKFrameLayoutKit"

Hello world

let image = UIImage(named: "earth.jpg")

let label = UILabel()
label.text = "Hello World"

let layout = NKDoubleFrameLayout(direction: .horizontal, andViews: [image, label])
layout.spacing = 5
layout.frame = self.bounds

Hello World

Benchmark

NKFrameLayoutKit is one of the fastest layout libraries. Benchmark Results

See: Layout libraries benchmark's project

Todo

  • CocoaPods support
  • Objective-C version
  • Swift version
  • Examples
  • Documents

Author

Nam Kennic, namkennic@me.com

License

NKFrameLayoutKit is available under the MIT license. See the LICENSE file for more info.

About

NKFrameLayout is a super fast and easy to use layout library for iOS and tvOS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published