@@ -592,10 +592,6 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
return true
}
- func verticalOffset(forEmptyDataSet scrollView: UIScrollView!) -> CGFloat {
- return -100
- }
-
// MARK: - SEARCH
func updateSearchResults(for searchController: UISearchController) {
@@ -456,10 +456,6 @@ class NCMedia: UIViewController, DZNEmptyDataSetSource, DZNEmptyDataSetDelegate,
// MARK: DZNEmpty
- return 0
func backgroundColor(forEmptyDataSet scrollView: UIScrollView) -> UIColor? {
return NCBrandColor.sharedInstance.backgroundView
@@ -119,10 +119,6 @@
return [[NSAttributedString alloc] initWithString:text attributes:attributes];
--(CGFloat)verticalOffsetForEmptyDataSet:(UIScrollView *)scrollView
-{
- return -100;
-}
#pragma mark -
#pragma --------------------------------------------------------------------------------------------
@@ -157,10 +157,6 @@ class NCTrash: UIViewController, UIGestureRecognizerDelegate, NCTrashListCellDel
// MARK: TAP EVENT
func tapSwitchHeaderMenu(sender: Any) {