[ad_1]
I am created a widget extension inside a UIKit utility, and because it’s my first dive into SwiftUI I am confused on how I can entry my structs/enums and helper lessons throughout the larger challenge code base.
For instance, if I’ve a easy enum or mannequin struct outlined in my challenge, when I attempt to entry these sorts inside my widget extension file Xcode asks me to import the module from “MyApp”. But, sadly this does not work.
I’ve a sense I am making an error of first precept in not understanding the structure of this course of and would admire any path.
my aim:
use all the helper strategies and mannequin structs outlined within the international challenge to current knowledge inside a WidgetExtension dynamically.
[ad_2]
