Skip to content

Commit

Permalink
Fix access control
Browse files Browse the repository at this point in the history
  • Loading branch information
ephread committed Jun 4, 2021
1 parent e396527 commit 18f4398
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class CoachMarkCoordinateConverter {
self.rootView = rootView
}

func convert(frame: CGRect, from superview: UIView?) -> CGRect {
public func convert(frame: CGRect, from superview: UIView?) -> CGRect {
// No superview, assuming frame in `instructionsRootView`'s coordinate system.
guard let superview = superview else {
print(ErrorMessage.Warning.anchorViewIsNotInTheViewHierarchy)
Expand Down Expand Up @@ -46,7 +46,7 @@ public class CoachMarkCoordinateConverter {
return rootView.convert(frameInInstructionsWindow, from: instructionsWindow)
}

func convert(point: CGPoint, from superview: UIView?) -> CGPoint {
public func convert(point: CGPoint, from superview: UIView?) -> CGPoint {
// No superview, assuming frame in `instructionsRootView`'s coordinate system.
guard let superview = superview else {
print(ErrorMessage.Warning.anchorViewIsNotInTheViewHierarchy)
Expand Down

0 comments on commit 18f4398

Please sign in to comment.