BNBTouch

Objective-C

@interface BNBTouch : NSObject
- (nonnull instancetype)initWithX:(float)x
                                y:(float)y
                               id:(int64_t)id;
+ (nonnull instancetype)touchWithX:(float)x
                                 y:(float)y
                                id:(int64_t)id;

@property (nonatomic, readonly) float x;

@property (nonatomic, readonly) float y;

@property (nonatomic, readonly) int64_t id;

@end

Swift

class BNBTouch : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithX:(float)x
                                    y:(float)y
                                   id:(int64_t)id;

    Swift

    init(x: Float, y: Float, id: Int64)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)touchWithX:(float)x
                                     y:(float)y
                                    id:(int64_t)id;
  • x

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float x

    Swift

    var x: Float { get }
  • y

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) float y

    Swift

    var y: Float { get }
  • id

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int64_t id

    Swift

    var id: Int64 { get }