فهرست منبع

update

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 1 سال پیش
والد
کامیت
e666cc2db8
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      ExternalResources/NCApplicationHandle.swift
  2. 1 1
      iOSClient/Share/NCSharePaging.swift

+ 1 - 1
ExternalResources/NCApplicationHandle.swift

@@ -64,7 +64,7 @@ class NCApplicationHandle: NSObject {
 
     // class: NCSharePaging
     // func pagingViewController(_: PagingViewController, viewControllerAt index: Int) -> UIViewController
-    func pagingViewController(_: PagingViewController, viewControllerAt index: Int) -> UIViewController {
+    func pagingViewController(_: PagingViewController, viewControllerAt index: Int, metadata: tableMetadata) -> UIViewController {
         return UIViewController()
     }
 

+ 1 - 1
iOSClient/Share/NCSharePaging.swift

@@ -240,7 +240,7 @@ extension NCSharePaging: PagingViewControllerDataSource {
             viewController.height = height
             return viewController
         default:
-            return applicationHandle.pagingViewController(pagingViewController, viewControllerAt: index)
+            return applicationHandle.pagingViewController(pagingViewController, viewControllerAt: index, metadata: metadata)
         }
     }