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

FIX: changed CCTableView's dataSource property from 'strong' to 'weak' #1251

Open
wants to merge 1 commit into
base: v3.4
Choose a base branch
from

Conversation

zbarryte
Copy link

This prevents retain-cycle that normally occurs when using a SpriteBuilder Scene (CCNode that's 0th child of CCScene generated via loading from CCBReader) as the dataSource of a CCTableView

…' to prevent retain-cycle when using a SpriteBuilder Scene (CCNode that's 0th child of CCScene generated via loading from CCBReader) as the dataSource of a CCTableView
@slembcke
Copy link
Contributor

Hmm. Interesting comparison. UITableView's data source property is weak also. I worry a little bit that since this changes the behavior of the property it will cause compatibility problems for some people. I'll consider merging it into the v4 branch though.

Let me get back to you.

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.

None yet

2 participants