Keyword

# Interface

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

An <span class="title-ref">Interface</span> is used to specify what an object does without specifying how it does it.

## Notes

You will not use the <span class="title-ref">Interface</span> keyword directly in your code. To add an <span class="title-ref">Interface</span> to your project, use the Insert button or menu. To assign an <span class="title-ref">Interface</span> to a class, use the Interfaces button on the Inspector for the class.

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`Class</api/language/class>`, `Implements</api/language/implements>` keyword; `Interfaces</getting_started/object-oriented_programming/interfaces>` topic

</div>
