Skip to content

suport UIStackView custom spacing at Any version of iOS

License

Notifications You must be signed in to change notification settings

Zhangguiguang/GGStackView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GGStackView

Language License Dependencies

Example

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

Installation

Copy the file

GGStackView.h
GGStackView.m

OR

UIStackView+GGCustomSpacing.h
UIStackView+GGCustomSpacing.m

to Your Project.

Usage

If you want set UIStackView custom spacing below iOS 11.0, you can use

// UIStackView+GGCustomSpacing.h
- gg_setCustomSpacing: afterView:

// GGStackView.h
// Exactly the same as the system method
- setCustomSpacing: afterView:

Author

zhangguiguang, [email protected]

License

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

About

suport UIStackView custom spacing at Any version of iOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published