I have created a Device Activity Monitor Extension target in my SwiftUI app. I have a model that I wanna access from the new target. Can you please help me to access MyModel from MyMonitor? This is the first time I'm using a different target. 
            Asked
            
        
        
            Active
            
        
            Viewed 30 times
        
    0
            
            
        - 
                    It does, thank u. – Murad Aug 09 '23 at 12:13
 - 
                    I'm having the same problem, has yours been resolved? – Ahmed Yusuf Aug 17 '23 at 08:52
 - 
                    @AhmedYusuf yes, just select the swift file and open the right panel, then check the target under the Target Membership – Murad Aug 17 '23 at 09:05
 - 
                    Hi, thank you, you saved my day. I can call local notification from MyModel, but somehow when I check MyModel. shared.familyActivitySelection and showing the count using local notification, the value remain empty even though I already set it from my AppDelegate – Ahmed Yusuf Aug 18 '23 at 01:22