In video "Build SwiftUI views for widgets" author use .isPlaceholder(false) to set view is not placeholder, but... It's not available >____<
Value of type 'Text' has no member 'isPlaceholder'
Xcode Version 12.0.1 (12A7300)
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
extension View {
public func redacted(reason: RedactionReasons) -> some View
public func unredacted() -> some View
}
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: