             
     }
     
+    //scroll event
     func scrollViewDidScroll(scrollView: UIScrollView) {
         
         refreshloadView.scrollViewDidScroll(scrollView)
         
     }
     
-    
+    //scroll event
     func scrollViewDidEndDragging(scrollView: UIScrollView, willDecelerate decelerate: Bool) {
         
         refreshloadView.scrollViewDidEndDragging(scrollView)

    
    func refreshData(view: RefreshLoadView) {
        
        //
        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), {
            sleep(1)
            dispatch_async(dispatch_get_main_queue(), {
                
                
                self.refreshloadView.endRefresh(self.table_view)
            });
        });

    
    func loadData(view: RefreshLoadView) {
        
        //load more data
        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), {
            sleep(1)
            dispatch_async(dispatch_get_main_queue(), {
                
                //end load more
                self.refreshloadView.endLoadMore(self.table_view)
            });
        });
