I want to drop a bunch of pins for hotels on a map. I have a MKAnnotation class, and a view (MKAnnotationView) and I also have a class Hotel which has all information about the hotel
In terms of design how should these two work together. Should I have 2 classes or should I just combine both into a single class that inherits from MKAnnotationView and implements MKAnnotation protocol?
Because when I drop a pin I need to have all the details about the pin at hand if you know what I mean