Skip to content

Commit

Permalink
add focus: .classic option to example
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxfrazer authored Jul 27, 2021
1 parent 972b7f7 commit 6932f0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ 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:
<br>```let focusSquare = FocusEntity(on: self.arView, focus: .classic)```
<br>or
<br>```let focusSquare = FocusEntity(on: self.arView, style: .classic(color: .yellow))```
<br><br>(Optional)<br>
- Set `focusSquare.delegate` to an object which conforms to `FocusEntityDelegate` if you wish to get callbacks for when the FocusEntity changes state.
Expand Down

0 comments on commit 6932f0a

Please sign in to comment.