將XCode升級到6後,報Too many arguments to function call, expected 0, have *,在XCode5.1裏能編譯經過的,到xcode6就報錯
objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);
Too many arguments to function call, expected 0, have *
解決方案:
選中項目 - Project - Build Settings - ENABLE_STRICT_OBJC_MSGSEND 將其設置爲 NO 便可xcode