Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds clean up and deallocation #61

Merged
merged 2 commits into from
Jun 4, 2021
Merged

Adds clean up and deallocation #61

merged 2 commits into from
Jun 4, 2021

Conversation

mjohnsullivan
Copy link
Contributor

  • rive-ios build target drops to 10.0
  • Adds dealloc to file, animation and state machine instances
  • Adds view controller cleanup in examples
  • Adds tracking input instances for reuse

@mjohnsullivan mjohnsullivan requested a review from mjtalbot June 3, 2021 23:28
@@ -38,33 +46,60 @@ - (RiveStateMachine *)stateMachine {
return [[RiveStateMachine alloc] initWithStateMachine: stateMachine];
}

- (RiveSMIBool *)getBool:(NSString *) name {
- (RiveSMIBool *)getBool:(NSString *)name {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

talk me through this today :D i think i get it i just wanna be sure. i guess we call alloc. without freeing it so its bad?

Copy link
Collaborator

@mjtalbot mjtalbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mjtalbot mjtalbot merged commit fa83534 into master Jun 4, 2021
@mjtalbot mjtalbot deleted the perms branch July 30, 2021 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants