-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from yysskk/master
Add Safe Area Layout support
- Loading branch information
Showing
12 changed files
with
818 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// LayoutItem.swift | ||
// Cartography-iOS | ||
// | ||
// Created by Yusuke Morishia on 2017/10/15. | ||
// Copyright © 2017年 Robert Böhnke. All rights reserved. | ||
// | ||
#if os(iOS) || os(tvOS) | ||
import UIKit | ||
#else | ||
import AppKit | ||
#endif | ||
|
||
internal protocol LayoutItem: class {} | ||
|
||
extension View: LayoutItem {} | ||
|
||
#if os(iOS) || os(tvOS) | ||
@available(iOS 9.0, tvOS 9.0, *) | ||
extension UILayoutGuide: LayoutItem {} | ||
#endif |
Oops, something went wrong.