Latest 0.1.1
Homepage https://github.com/acecilia/SafeAnchors
License MIT
Platforms ios 9.0
Frameworks UIKit
Authors

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), [email protected]

License

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

Latest podspec

{
    "name": "SafeAnchors",
    "version": "0.1.1",
    "summary": "UIView extension providing anchors that return the view's anchors before iOS11, and the safeAreaLayoutGuide's anchors in iOS11 or above",
    "homepage": "https://github.com/acecilia/SafeAnchors",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Andru00e9s Cecilia Luque": "[email protected]"
    },
    "source": {
        "git": "https://github.com/acecilia/SafeAnchors.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Sources/**/*",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This