Created
June 4, 2019 18:51
-
-
Save balrajOla/3a6be26802fd1d12c2fadd0fcc26fad9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *) | |
public protocol View : _View { | |
/// The type of view representing the body of this view. | |
/// | |
/// When you create a custom view, Swift infers this type from your | |
/// implementation of the required `body` property. | |
associatedtype Body : View | |
/// Declares the content and behavior of this view. | |
var body: Self.Body { get } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment