File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,8 @@ - (void)setAsyncDelegate:(id<ASCollectionViewDelegate>)asyncDelegate
296296  } else  {
297297    _proxyDelegate.target  = asyncDelegate;
298298    _asyncDelegate = asyncDelegate;
299+     super.delegate  = (id <UICollectionViewDelegate>)_proxyDelegate;
300+ 
299301    _asyncDelegateImplementsInsetSection = ([_asyncDelegate respondsToSelector: @selector (collectionView:layout:insetForSectionAtIndex: )] ? 1  : 0 );
300302  }
301303}
Original file line number Diff line number Diff line change @@ -313,6 +313,7 @@ - (void)setAsyncDelegate:(id<ASTableViewDelegate>)asyncDelegate
313313  } else  {
314314    _proxyDelegate.target  = asyncDelegate;
315315    _asyncDelegate = asyncDelegate;
316+     super.delegate  = (id <UITableViewDelegate>)_proxyDelegate;
316317  }
317318}
318319
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments