diff --git a/README.md b/README.md index 78992b6..c182bd2 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,9 @@ See the [Example](./FocusEntity-Example) for a full working example as can be se - After installing, import `FocusEntity` to your .swift file - Create an instance of FocusEntity: -
```let focusSquare = FocusEntity(on: self.arView, style: .classic)``` +
```let focusSquare = FocusEntity(on: self.arView, focus: .classic)``` +
or +
```let focusSquare = FocusEntity(on: self.arView, style: .classic(color: .yellow))```

(Optional)
- Set `focusSquare.delegate` to an object which conforms to `FocusEntityDelegate` if you wish to get callbacks for when the FocusEntity changes state. - Optionally, you may select to use one of 3 visual styles: classic, color, and material.