Swift CanPerformActionsInSwiftUI Resources