https://github.com/shoaibcheema/shview
SHView is a view with gone property.
https://github.com/shoaibcheema/shview
gone swift swift-language swift-library swift4 uiview uiview-subclass uiviewanimation uiviewcontroller
Last synced: 10 months ago
JSON representation
SHView is a view with gone property.
- Host: GitHub
- URL: https://github.com/shoaibcheema/shview
- Owner: shoaibcheema
- License: mit
- Created: 2017-09-06T06:29:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T23:16:22.000Z (about 6 years ago)
- Last Synced: 2025-06-23T08:49:51.675Z (about 1 year ago)
- Topics: gone, swift, swift-language, swift-library, swift4, uiview, uiview-subclass, uiviewanimation, uiviewcontroller
- Homepage:
- Size: 923 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SHView
SHView is a view with gone property.
## Features
- Just setGone -- view will disapear.
- Automatically adjust constaraints height.
- Automatically adjust margens.
## SHView in Action
- Stroyboard Implementation

- Simulator

## Demo
[Demo on Appetize.io](https://appetize.io/app/qvxzbzh55uzxwawpc63mrq0abg?device=iphone6s&scale=75&orientation=portrait&osVersion=11.4)

## Example
```swift
let myView = SHView()
```
add your constraints
```swift
myView.gone = true
```
or
```swift
myView.gone = false
```