Swift compiler error when programming a GCkeyboard for my Mac game

This is the code I am using for this project I am using the apple developer documentation but it keep getting the same error codes saying this.

There is no class named GCKeyboardDevice. You probably want to use GCKeyboard, which implements the GCDevice protocol.

Thank you

Terms of Service

Privacy Policy

Cookie Policy