1.
MJRefreshConst.m 裏面 會報錯: unknown type ‘NSString‘...
原因: xcode6 取消.pch文件, 所以沒有導入 foundation和uikit框架
解決方法: 在MJRefreshConst.m頭部加上
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
2.
objc_msgSend(self.beginRefreshingTaget, self.beginRefreshingAction, self);
Too many arguments to function call, expected 0, have 3
經過幾番周折,終於叨叨解決方案了
選中項目 - Project - Build Settings - ENABLE_STRICT_OBJC_MSGSEND 將其設置爲 NO 即可