-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Improve memory management documentation #48
Comments
Actually reading up on ARC, I'm completely confused... are calls to Depending on that, Python must or must not call |
ARC is a compiler feature, it makes the compiler insert Alternatively, it would be possible to make rubicon-objc call |
This was implemented in #201, but the documentation is still lacking:
|
Looking at old SO discussion (e.g. https://stackoverflow.com/a/6610/705086 ) it looks like when
SomeOBJCClass.alloc().init()
is called from Python code, it becomes Python's responsibility either to.release()
the resulting object on the spot, or to mark it for GC at the bottom of event loop using.autorelease()
.Is that correct?
If that's correct, it must be documented...
The text was updated successfully, but these errors were encountered: