Skip to content

Commit

Permalink
Removed availability for osX and added deprecation for tvOS 11+
Browse files Browse the repository at this point in the history
  • Loading branch information
Luís Portela Afonso committed Oct 2, 2018
1 parent fd4d42d commit 57b7ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cartography/ViewProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public final class ViewProxy: SupportsPositioningLayoutProxy, SupportsBaselineLa

@available(iOS, introduced: 9.0)
@available(tvOS, introduced: 9.0)
@available(OSX, introduced: 10.11)
@available(iOS, deprecated: 11.0, message: "The safe area is available on iOS 11+ via 'safeAreaLayoutGuide'!")
@available(tvOS, deprecated: 11.0, message: "The safe area is available on tvOS 11+ via 'safeAreaLayoutGuide'!")
extension ViewProxy {
#if os(iOS) || os(tvOS)
var safeArea: LayoutGuideProxy {
Expand Down

0 comments on commit 57b7ea2

Please sign in to comment.