[![CI Status](http://img.shields.io/travis/Prakash Raman/PineKit.svg?style=flat)](https://travis-ci.org/Prakash Raman/PineKit)
PineKit is a highly extendable iOS Swift UI Framework for building iOS Applications
We at 1985 use this Library for all our iOS development! And we built it :)
To run the example project, clone the repo, and run pod install
from the Example directory first.
PineKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "PineKit", git: "https://github.com/1985apps/PineKit.git"
PineKit uses some to the best support Pods out there. Currently the list of pods which PineKit installs are
- SnapKit
- Cartography
- Alamofire
Do see that these pods are included in your Podfile (as a fail safe). And you would find them extremely useful too :)
PineKit is a framework containing a lot of classes and structures which are completely extendable. The elements are grouped by the following
- UI Elements (PineTextField, PineLabel, PineRadioGroup, ...)
- Layout Elements (PineLinearLayout, PineMenuViewController, ...)
- Base Elements (PineBaseViewController, ...)
Creates a label with the fonts set in the PineConfig
let lable = PineLabel(title: String)
self.view.addSubview(label)
A float placeholder text field, where the floating placeholder only shows when the textfield is not empty
let tf = PineTextField(title: String)
tf.textAlignment = .Center
self.view.addSubview(tf)
A Solid Button with rounded corners
let button = PineButton(title: String)
self.view.addSubview(button)
A sub class of the PineButton where only the border is visiable and the background color is "clearColor()"
let button = PineButton.Hollow(title: String)
self.view.addSubview(button)
Prakash Raman, [email protected]
PineKit is available under the MIT license. See the LICENSE file for more info.