Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmojo committed Jul 11, 2023
1 parent d9ce677 commit ff4addc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ try! eventTest.value_set(10)
print(lastValuePassedIntoEventHandler)
```

I guess this is pretty self explanatory. Again, for brevity we omitted error handling here. Regular Swift memory management rules apply here. Most of the time you'll likely want to create an event handler, store it as a variable outside of the function's scope and unsubscribe from the event in your class's deinitializer.
I guess this is pretty self explanatory. Again, for brevity we omitted error handling here. Regular Swift memory management rules apply. Most of the time you'll likely want to create an event handler, store it as a variable outside of the function's scope and unsubscribe from the event in your class's deinitializer.



Expand Down

0 comments on commit ff4addc

Please sign in to comment.