GameController Changes for Objective-C
GameController
GCController.h
Added GCControllerPlayerIndex
Added GCControllerPlayerIndex1
Added GCControllerPlayerIndex2
Added GCControllerPlayerIndex3
Added GCControllerPlayerIndex4
Modified GCController.attachedToDevice
Declaration | |
---|---|
From | @property(readonly, getter=isAttachedToDevice) BOOL attachedToDevice |
To | @property(nonatomic, readonly, getter=isAttachedToDevice) BOOL attachedToDevice |
Modified GCController.controllerPausedHandler
Declaration | |
---|---|
From | @property(copy) void (^controllerPausedHandler)(GCController *controller) |
To | @property(nonatomic, copy, nullable) void (^controllerPausedHandler)(GCController * _Nonnull controller) |
Modified +[GCController controllers]
Declaration | |
---|---|
From | + (NSArray *)controllers |
To | + (NSArray<GCController *> * _Nonnull)controllers |
Modified GCController.extendedGamepad
Declaration | |
---|---|
From | @property(retain, readonly) GCExtendedGamepad *extendedGamepad |
To | @property(nonatomic, retain, readonly, nullable) GCExtendedGamepad *extendedGamepad |
Modified GCController.gamepad
Declaration | |
---|---|
From | @property(retain, readonly) GCGamepad *gamepad |
To | @property(nonatomic, retain, readonly, nullable) GCGamepad *gamepad |
Modified GCController.motion
Declaration | |
---|---|
From | @property(retain, readonly) GCMotion *motion |
To | @property(nonatomic, retain, readonly, nullable) GCMotion *motion |
Modified GCController.playerIndex
Declaration | |
---|---|
From | @property(nonatomic) NSInteger playerIndex |
To | @property(nonatomic) GCControllerPlayerIndex playerIndex |
Modified GCController.vendorName
Declaration | |
---|---|
From | @property(readonly, copy) NSString *vendorName |
To | @property(nonatomic, readonly, copy, nullable) NSString *vendorName |
GCControllerAxisInput.h
Modified GCControllerAxisInput.value
Declaration | |
---|---|
From | @property(readonly) float value |
To | @property(nonatomic, readonly) float value |
Declaration | |
---|---|
From | @property(copy) GCControllerAxisValueChangedHandler valueChangedHandler |
To | @property(nonatomic, copy, nullable) GCControllerAxisValueChangedHandler valueChangedHandler |
GCControllerButtonInput.h
Modified GCControllerButtonInput.pressed
Declaration | |
---|---|
From | @property(readonly, getter=isPressed) BOOL pressed |
To | @property(nonatomic, readonly, getter=isPressed) BOOL pressed |
Declaration | |
---|---|
From | @property(copy) GCControllerButtonValueChangedHandler pressedChangedHandler |
To | @property(nonatomic, copy, nullable) GCControllerButtonValueChangedHandler pressedChangedHandler |
Modified GCControllerButtonInput.value
Declaration | |
---|---|
From | @property(readonly) float value |
To | @property(nonatomic, readonly) float value |
Declaration | |
---|---|
From | @property(copy) GCControllerButtonValueChangedHandler valueChangedHandler |
To | @property(nonatomic, copy, nullable) GCControllerButtonValueChangedHandler valueChangedHandler |
GCControllerDirectionPad.h
Modified GCControllerDirectionPad.down
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *down |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *down |
Modified GCControllerDirectionPad.left
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *left |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *left |
Modified GCControllerDirectionPad.right
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *right |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *right |
Modified GCControllerDirectionPad.up
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *up |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *up |
Declaration | |
---|---|
From | @property(copy) GCControllerDirectionPadValueChangedHandler valueChangedHandler |
To | @property(nonatomic, copy, nullable) GCControllerDirectionPadValueChangedHandler valueChangedHandler |
Modified GCControllerDirectionPad.xAxis
Declaration | |
---|---|
From | @property(readonly) GCControllerAxisInput *xAxis |
To | @property(nonatomic, readonly, nonnull) GCControllerAxisInput *xAxis |
Modified GCControllerDirectionPad.yAxis
Declaration | |
---|---|
From | @property(readonly) GCControllerAxisInput *yAxis |
To | @property(nonatomic, readonly, nonnull) GCControllerAxisInput *yAxis |
GCControllerElement.h
Modified GCControllerElement.analog
Declaration | |
---|---|
From | @property(readonly, getter=isAnalog) BOOL analog |
To | @property(nonatomic, readonly, getter=isAnalog) BOOL analog |
Modified GCControllerElement.collection
Declaration | |
---|---|
From | @property(assign, readonly) GCControllerElement *collection |
To | @property(nonatomic, assign, readonly, nonnull) GCControllerElement *collection |
GCExtendedGamepad.h
Modified GCExtendedGamepad.buttonA
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *buttonA |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *buttonA |
Modified GCExtendedGamepad.buttonB
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *buttonB |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *buttonB |
Modified GCExtendedGamepad.buttonX
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *buttonX |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *buttonX |
Modified GCExtendedGamepad.buttonY
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *buttonY |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *buttonY |
Modified GCExtendedGamepad.controller
Declaration | |
---|---|
From | @property(readonly, assign) GCController *controller |
To | @property(nonatomic, readonly, assign, nonnull) GCController *controller |
Modified GCExtendedGamepad.dpad
Declaration | |
---|---|
From | @property(readonly) GCControllerDirectionPad *dpad |
To | @property(nonatomic, readonly, nonnull) GCControllerDirectionPad *dpad |
Modified GCExtendedGamepad.leftShoulder
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *leftShoulder |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *leftShoulder |
Modified GCExtendedGamepad.leftThumbstick
Declaration | |
---|---|
From | @property(readonly) GCControllerDirectionPad *leftThumbstick |
To | @property(nonatomic, readonly, nonnull) GCControllerDirectionPad *leftThumbstick |
Modified GCExtendedGamepad.leftTrigger
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *leftTrigger |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *leftTrigger |
Modified GCExtendedGamepad.rightShoulder
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *rightShoulder |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *rightShoulder |
Modified GCExtendedGamepad.rightThumbstick
Declaration | |
---|---|
From | @property(readonly) GCControllerDirectionPad *rightThumbstick |
To | @property(nonatomic, readonly, nonnull) GCControllerDirectionPad *rightThumbstick |
Modified GCExtendedGamepad.rightTrigger
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *rightTrigger |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *rightTrigger |
Declaration | |
---|---|
From | @property(copy) GCExtendedGamepadValueChangedHandler valueChangedHandler |
To | @property(nonatomic, copy, nullable) GCExtendedGamepadValueChangedHandler valueChangedHandler |
GCExtendedGamepadSnapshot.h
Declaration | |
---|---|
From | @property(copy) NSData *snapshotData |
To | @property(atomic, copy, nonnull) NSData *snapshotData |
GCGamepad.h
Modified GCGamepad.buttonA
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *buttonA |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *buttonA |
Modified GCGamepad.buttonB
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *buttonB |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *buttonB |
Modified GCGamepad.buttonX
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *buttonX |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *buttonX |
Modified GCGamepad.buttonY
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *buttonY |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *buttonY |
Modified GCGamepad.controller
Declaration | |
---|---|
From | @property(readonly, assign) GCController *controller |
To | @property(nonatomic, readonly, assign, nonnull) GCController *controller |
Modified GCGamepad.dpad
Declaration | |
---|---|
From | @property(readonly) GCControllerDirectionPad *dpad |
To | @property(nonatomic, readonly, nonnull) GCControllerDirectionPad *dpad |
Modified GCGamepad.leftShoulder
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *leftShoulder |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *leftShoulder |
Modified GCGamepad.rightShoulder
Declaration | |
---|---|
From | @property(readonly) GCControllerButtonInput *rightShoulder |
To | @property(nonatomic, readonly, nonnull) GCControllerButtonInput *rightShoulder |
Modified GCGamepad.valueChangedHandler
Declaration | |
---|---|
From | @property(copy) GCGamepadValueChangedHandler valueChangedHandler |
To | @property(nonatomic, copy, nullable) GCGamepadValueChangedHandler valueChangedHandler |
GCGamepadSnapshot.h
Modified GCGamepadSnapshot.snapshotData
Declaration | |
---|---|
From | @property(copy) NSData *snapshotData |
To | @property(atomic, copy, nonnull) NSData *snapshotData |
GCMotion.h
Added GCEulerAngles
Modified GCMotion.attitude
Declaration | |
---|---|
From | @property(assign, readonly) GCQuaternion attitude |
To | @property(nonatomic, assign, readonly) GCQuaternion attitude |
Modified GCMotion.controller
Declaration | |
---|---|
From | @property(readonly, assign) GCController *controller |
To | @property(nonatomic, readonly, assign, nonnull) GCController *controller |
Modified GCMotion.gravity
Declaration | |
---|---|
From | @property(assign, readonly) GCAcceleration gravity |
To | @property(nonatomic, assign, readonly) GCAcceleration gravity |
Modified GCMotion.rotationRate
Declaration | |
---|---|
From | @property(assign, readonly) GCRotationRate rotationRate |
To | @property(nonatomic, assign, readonly) GCRotationRate rotationRate |
Modified GCMotion.userAcceleration
Declaration | |
---|---|
From | @property(assign, readonly) GCAcceleration userAcceleration |
To | @property(nonatomic, assign, readonly) GCAcceleration userAcceleration |
Modified GCMotion.valueChangedHandler
Declaration | |
---|---|
From | @property(copy) GCMotionValueChangedHandler valueChangedHandler |
To | @property(nonatomic, copy, nullable) GCMotionValueChangedHandler valueChangedHandler |