At 17:44 in the video there is a collapsed region of code in Xcode denoted Implementation with a disclosure triangle to the left of it. What is the syntax in the editor to enable sections of code like this that can be collapsed?
Post
Replies
Boosts
Views
Activity
I followed along with the presentation and my widget has no content on the device.
2020-06-24 13:05:23.122146-0500 EmojiRangerWidgetExtension[9619:814152] [widget] No intent in timeline(for:with:completion:)
The placeholder does not compile:
struct PlaceholderView : View {
var body: some View {
AvatarView(.panda)
.isPlaceholder(true)
}
}
For the AvatarView() in the PlaceholderView. "Value of type 'AvatarView' has no member 'isPlaceholder'"