diff --git a/ImageViewer/Source/GalleryItemsDataSource.swift b/ImageViewer/Source/GalleryItemsDataSource.swift index e5d1d1e..0cf6fed 100644 --- a/ImageViewer/Source/GalleryItemsDataSource.swift +++ b/ImageViewer/Source/GalleryItemsDataSource.swift @@ -8,8 +8,8 @@ import UIKit +@MainActor public protocol GalleryItemsDataSource: AnyObject { - func itemCount() -> Int func provideGalleryItem(_ index: Int) -> GalleryItem }