title: Share data between main App and Widget in SwiftUI for iOS 14
body: <pre><code>@main
  struct ClockWidgetExt: Widget {
      private let kind: String = &quot;ClockWidgetExt&quot;
      
      public var body: some WidgetConfiguration {
          StaticConfiguration(kind: kind, provider: Provider(), placeholder: PlaceholderView()) { entry in
              HomeTestView()
          }
          .configurationDisplayName(&quot;My Widget&quot;)
          .description(&quot;This is an example widget.&quot;)
      }
  }
  </code></pre>
  <p>How can I get data from my Main App to the widget?</p>