_ObjCFloatValue
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFloatValue)
public final class _ObjCFloatValue : NSObject
Wrapper class for FloatValue
. This should only be used if you are using Objective-C.
-
The relative value that this object represents or
nil
if it represents an absolute value.Declaration
Swift
public let relativeValue: CGFloat?
-
The absolute value that this object represents or
nil
if it represents a relative value.Declaration
Swift
public let absoluteValue: CGFloat?
-
Creates a new
FloatValue
that represents a relative value.Declaration
Swift
public init(relativeValue: CGFloat)
Parameters
relativeValue
The value to represent.
-
Creates a new
FloatValue
that represents an absolute value.Declaration
Swift
public init(absoluteValue: CGFloat)
Parameters
absoluteValue
The value to represent.