[FIX]: make the scrollView delegate methods optional

This commit is contained in:
Mazyad Alabduljaleel 2014-07-17 02:10:59 +04:00
parent b25cb5ccf3
commit 27ba8ecd42
1 changed files with 2 additions and 2 deletions

View File

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