I came across the following code:
func makeContentView() -> UIView & UIContentView {
return DatePickerContentView(self)
}
How does the return type of UIView & UIContentView work? This is the first time I came across this. Does this mean we can do multiple &?
I tried to search but I am not familiar with the corresponding technical term.