You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -120,7 +118,7 @@ public enum PlaygroundLiveViewRepresentation {
120
118
/// - note: This view controller must be the root of a view controller hierarchy (i.e. it has no parent view controller), and its view must *not* have a superview.
121
119
case viewController(UIViewController)
122
120
123
-
#elseif os(OSX)
121
+
#elseif os(macOS)
124
122
/// A view which will be displayed as the live view.
125
123
///
126
124
/// - note: This view must be the root of a view hierarchy (i.e. it must not have a superview), and it must *not* be owned by a view controller.
@@ -137,7 +135,7 @@ public enum PlaygroundLiveViewRepresentation {
137
135
/// A protocol for types which can be displayed as the live view for a playground page.
138
136
///
139
137
/// On iOS and tvOS, `UIView` and `UIViewController` conform to this protocol.
140
-
/// Likewise, on OS X, `NSView` and `NSViewController` conform to this protocol.
138
+
/// Likewise, on macOS, `NSView` and `NSViewController` conform to this protocol.
141
139
///
142
140
/// Implement this protocol if your custom type should be usable as the "live view" for a playground page.
0 commit comments