Skip to content

Commit

Permalink
Use public
Browse files Browse the repository at this point in the history
Members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'

fixes artemkrachulov#33
  • Loading branch information
ykws committed Oct 15, 2018
1 parent 3436f26 commit ffec0b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AKImageCropperView/AKImageCropperScrollView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class AKImageCropperScrollView: UIScrollView {

/** Return visible rect of an UIScrollView's content */

open var visibleRect: CGRect {
public var visibleRect: CGRect {
return CGRect(
x : contentInset.left,
y : contentInset.top,
Expand All @@ -25,7 +25,7 @@ final class AKImageCropperScrollView: UIScrollView {

/** Returns scaled visible rect of an UIScrollView's content */

open var scaledVisibleRect: CGRect {
public var scaledVisibleRect: CGRect {
return CGRect(
x : (contentOffset.x + contentInset.left) / zoomScale,
y : (contentOffset.y + contentInset.top) / zoomScale,
Expand All @@ -41,7 +41,7 @@ final class AKImageCropperScrollView: UIScrollView {
return view
}()

open var image: UIImage! {
public var image: UIImage! {
didSet {

/* Prepare scroll view to changing the image */
Expand Down

0 comments on commit ffec0b9

Please sign in to comment.