Skip to content
This repository was archived by the owner on Jun 17, 2023. It is now read-only.

Commit d0851c8

Browse files
author
Amir Khorsandi
committed
Make variables public for options.* structs
1 parent 52c75e0 commit d0851c8

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Lib/Scale/ScaleTransformViewOptions.Rotation3dOptions.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@ public extension ScaleTransformViewOptions {
1515
// MARK: Properties
1616

1717
/// The angle for rotate side views
18-
var angle: CGFloat
18+
public var angle: CGFloat
1919

2020
/// The minimum angle for rotation
21-
var minAngle: CGFloat
21+
public var minAngle: CGFloat
2222

2323
/// The maximum angle for rotation
24-
var maxAngle: CGFloat
24+
public var maxAngle: CGFloat
2525

26-
var x: CGFloat
26+
public var x: CGFloat
2727

28-
var y: CGFloat
28+
public var y: CGFloat
2929

30-
var z: CGFloat
30+
public var z: CGFloat
3131

3232
/// `CATransform3D.m34`, read more: https://stackoverflow.com/questions/3881446/meaning-of-m34-of-catransform3d
33-
var m34: CGFloat
33+
public var m34: CGFloat
3434

3535
/// `CALayer.isDoubleSided`, read more: https://developer.apple.com/documentation/quartzcore/calayer/1410924-isdoublesided
36-
var isDoubleSided: Bool = false
36+
public var isDoubleSided: Bool = false
3737

3838

3939
// MARK: Lifecycle

Lib/Scale/ScaleTransformViewOptions.Translation3dOptions.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ import UIKit
1010

1111
public extension ScaleTransformViewOptions {
1212

13-
class Translation3dOptions {
13+
struct Translation3dOptions {
1414

1515
// MARK: Properties
1616

1717
/// The translates(x,y,z) ratios (translateX = progress * translates.x)
18-
var translateRatios: (CGFloat, CGFloat, CGFloat)
18+
public var translateRatios: (CGFloat, CGFloat, CGFloat)
1919

2020
/// The minimum translate values
21-
var minTranslates: (CGFloat, CGFloat, CGFloat)
21+
public var minTranslates: (CGFloat, CGFloat, CGFloat)
2222

2323
/// The maximum translate values
24-
var maxTranslates: (CGFloat, CGFloat, CGFloat)
24+
public var maxTranslates: (CGFloat, CGFloat, CGFloat)
2525

2626

2727
// MARK: Lifecycle

0 commit comments

Comments
 (0)