cocos2d-objc icon indicating copy to clipboard operation
cocos2d-objc copied to clipboard

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

Open zbarryte opened this issue 10 years ago • 1 comments

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

zbarryte avatar Feb 22 '15 17:02 zbarryte

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.

slembcke avatar Mar 11 '15 18:03 slembcke