 import UIKit
 import Photos
 
+// MARK: - UI Options
+public extension PhotosSheet {
+    enum UIOption: Hashable {
+        case photoItemCheckboxRightMargin(CGFloat)
+        case photoItemCheckboxBottomMargin(CGFloat)
+        case photoItemHeight(CGFloat)
+        case actionSheetFont(UIFont)
+        case actionSheetCorners(CGFloat)
+        case actionSheetHorizontalMargin(CGFloat)
+        case actionSheetVerticalMargin(CGFloat)
+        case actionSheetItemHeight(CGFloat)
+
+        public var hashValue: Int {
+            switch self {
+            case .photoItemCheckboxRightMargin : return 0
+            case .photoItemCheckboxBottomMargin : return 1
+            case .photoItemHeight : return 2
+            case .actionSheetFont : return 3
+            case .actionSheetCorners : return 4
+            case .actionSheetHorizontalMargin : return 5
+            case .actionSheetVerticalMargin : return 6
+            case .actionSheetItemHeight : return 7
+            }
+        }
+
+        public static func ==(lhs: PhotosSheet.UIOption, rhs: PhotosSheet.UIOption) -> Bool {
+            return lhs.hashValue == rhs.hashValue
+        }
+    }
+}
+
 public final class PhotosSheet: UIViewController {
     /// All actions in action sheet.
     public let actions: [PhotosSheet.Action]

            super.layoutSubviews()
            mContentView.frame = bounds
            checkbox.sizeToFit()
            checkbox.frame.origin = CGPoint(x: bounds.width - checkbox.bounds.width - checkboxOffset, y: bounds.height - checkbox.bounds.height - checkboxOffset)
            progressView.center = CGPoint(x: 0.5 * bounds.width, y: 0.5 * bounds.height)
        }


        return NSLocalizedString(self, bundle: Bundle._myBundle, comment: "")
    }
}
