Files
Folo/apps/mobile/native/ios/Packages/ImageViewer_swift/ImageCarouselViewControllerProtocol.swift
T
Innei a2b13a2f09 refactor(mobile): extract image viewer actions to protocol
- Create ImageCarouselViewControllerProtocol to define image interaction methods
- Move save, copy, and share image methods from ImageViewerController to protocol implementation
- Remove setupOptionsButton method from ImageViewerController
- Add options menu directly in ImageCarouselViewController
- Enable page control user interaction
- Simplify image action handling across image viewer components

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-12 19:40:25 +08:00

16 lines
249 B
Swift

//
// ImageCarouselViewControllerProtocol.swift
// FollowNative
//
// Created by Innei on 2025/3/12.
//
import UIKit
protocol ImageCarouselViewControllerProtocol {
func saveImageToPhotos()
func copyImageToClipboard()
func shareImage()
}