How to check in Swift whether an instance have a given property setter or not?
Especially, what is the correct Selector in the case below? (This method of the cell does exist in iOS8 but does not exist in iOS7, so I want to check it).
if self.respondsToSelector(Selector("setPreservesSuperviewLayoutMargins:")) {
self.preservesSuperviewLayoutMargins = false;
}