RFSPoint

Objective-C


@interface RFSPoint : NSObject

Swift

class Point : NSObject

Point class represents a two number X, Y value.

  • x

    Undocumented

    Declaration

    Objective-C

    @property(nonatomic, readonly, assign) CGFloat x

    Swift

    var x: CGFloat { get }
  • y

    Undocumented

    Declaration

    Objective-C

    @property(nonatomic, readonly, assign) CGFloat y

    Swift

    var y: CGFloat { get }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, readonly, assign) CGPoint cgPoint

    Swift

    var cgPoint: CGPoint { get }
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithX:(CGFloat)x y:(CGFloat )y NS_DESIGNATED_INITIALIZER;

    Swift

    init(x: CGFloat, y: CGFloat)
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithNumberX:(nonnull NSNumber *)x numberY:(nonnull NSNumber *)y;

    Swift

    convenience init(numberX x: NSNumber, numberY y: NSNumber)