H&M Interview Question

what would you use instead of delegate? throw vs throws? error handling ObservableObject is on struct or class is closure value-type or ref-type core data