Code Monkey home page Code Monkey logo

autolayoutpackage's Introduction

AutoLayoutPackage

This packaged intends to make Swift Auto Layout less verbose and easier to understand and use.

The package comes with a variety of UIView alignments and helper functions to activate and and also track constraints.

Examples of alignments included:

Align sides

  • Top side of one view with the top side of another
  • Bottom side of one view with the bottom side of another
  • Left side of one view with the left side of another
  • Right side of one view with the right side of another

Align corners

  • Top left corner of one view with the top left corner of another
  • Top right corner of one view with the top right corner of another
  • Bottom left corner of one view with the bottom left corner of another
  • Bottom right corner of one view with the bottom right corner of another

Align centers

  • Center of one view with the center of another
  • Horizontal center of one view with the horizontal center of another
  • Vertical center of one view with the vertical center of another

Align next to

  • One view below another
  • One view above another
  • One view to the left side of another
  • One view to the right side of another

Align within

  • One view filling the entire space within another
  • One view filling the top-most space of another
  • One view filling the bottom-most space of another
  • One view filling the left-most space of another
  • One view filling the right-most space of another

Align between

  • One view filling the vertical space between two views
  • One view filling the horizontal space between two views

And more...

AutoLayoutPackage (since 2020) - by malulleybovo

autolayoutpackage's People

Contributors

malulleybovo avatar

Watchers

 avatar  avatar

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.