Skip to content

About

UIView extension providing anchors that return the view's anchors before iOS11, and the safeAreaLayoutGuide's anchors in iOS11 or above

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

SafeAnchors

UIView extension providing anchors that return the view's anchors before iOS11, and the safeAreaLayoutGuide's anchors in iOS11 or above

Installation

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

pod 'SafeAnchors'

If you want to have this framework globally available in your Swift project (without the need of importing it in every source file), I managed to do that by adding the following line to my bridging header:

#import "SafeAnchors/SafeAnchors-Swift.h"

Author

Andrés Cecilia Luque (acecilia), a.cecilia.luque@gmail.com

License

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

About

UIView extension providing anchors that return the view's anchors before iOS11, and the safeAreaLayoutGuide's anchors in iOS11 or above

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages