Merge pull request #7469 from Mazyod/optional-scrollview-delegate

Make the scrollView delegate methods optional
This commit is contained in:
minggo 2014-07-17 11:59:43 +08:00
commit f5e7d1ef7b
1 changed files with 2 additions and 2 deletions

View File

@ -52,12 +52,12 @@ public:
* @js NA * @js NA
* @lua NA * @lua NA
*/ */
virtual void scrollViewDidScroll(ScrollView* view) = 0; virtual void scrollViewDidScroll(ScrollView* view) {};
/** /**
* @js NA * @js NA
* @lua NA * @lua NA
*/ */
virtual void scrollViewDidZoom(ScrollView* view) = 0; virtual void scrollViewDidZoom(ScrollView* view) {};
}; };