Skip to content

Scalable Layout Kit lets you design scalable, consistent & adaptive user interface (UI) for iOS.

License

Notifications You must be signed in to change notification settings

keshavvishwkarma/ScalableLayoutKit

Repository files navigation

ScalableLayoutKit

CI Status Version License Platform

ScalableLayoutKit is a lightweight SDK that lets you design scalable, consistent user interface (UI) across any screen size of Apple devices.

ScalableLayoutKit reduces the lots of the time and efforts of a developer to make consistent UI design of all possible device screen sizes such as iPhone XS Max, iPhone XS, iPhone XR, iPhone X, iPhone 8 Plus, iPhone 8, iPhone 7 Plus, iPhone 7 ,iPhone 6s Plus ,iPhone 6s & iPhone SE.

Usage

Just use only one method of ScalableLayoutKit:

  public func scaledLayoutDesign(from srcScreen: Screen = .iPhone6)
Using ScalableLayoutKit
import ScalableLayoutKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        // Here we just need to passed based or source design screen name only.
        self.view.scaledLayoutDesign(from: .iPhoneX)        
    }

}

If you use ScalableLayoutKit in your app, I'd love to hear about it from you. You can reach me through Twitter or Email.

Example

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

Installation

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

pod 'ScalableLayoutKit'

Author

If you wish to contact me, email at: keshavvbe@gmail.com

GitHub Follow

License

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