GithubHelp home page GithubHelp logo

superstackview's Introduction

SuperStackView 📚

A feature rich version of UIStackView, with simple and powerful API.

Intro

SuperStackView allows you to use instead of UIStackView, inspire from AloeStackView.

Features

  • Allows you to add dynamic spacing b/w views

    UIStackView doesn't allow to add the variable spacing with different views.

    UIStackView spacing property add spacing to all the views.

    iOS 11 added the support of dynamic spacing as stackView.setCustomSpacing(10.0, after: firstView) but it's not that flexible and only support line spacing b/w views.

  • Allows you to set alignment (top, bottom and center) to separate views

    UIStackView alignment property applied to all the views, with SuperStackView you can set the alignment to any view.

  • Built in separator view support

  • Support all the properties of UIStackView

How it works?

SuperStackView wrap the views before adding the view to stack along with optional separator.

This allows to change the content inset of any view which acts as subview.

System Requirements

  • Deployment target iOS 9.0+
  • Xcode 10.0+
  • Swift 4.0+

Installation

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

pod "SuperStackView"

superstackview's People

Contributors

hm-arora avatar himanshuarora30 avatar

Watchers

James Cloos 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.