Giter Club home page Giter Club logo

scalablelayoutkit's Introduction

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: [email protected]

GitHub Follow

License

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

scalablelayoutkit's People

Contributors

keshavvishwkarma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

scalablelayoutkit's Issues

Waiting for swift 5 conversion.

As i am using your repository in my project. It always flesh warnings for conversion available for swift 5. Can you please do it.

Thank you for super usefull repository for scaling ui by just single line of code.

Only text working.

Nice SDK! Great idea, good job.
And I'll try add UIView to screen but doesn't work, just only text working.

Thanks and best

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.