- 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>
16 lines
249 B
Swift
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()
|
|
|
|
}
|