-
Notifications
You must be signed in to change notification settings - Fork 83
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
Multiple view's #12
Comments
This happens because you are using an instance variable or property of the class, and each view that goes into the CollapseClick needs to be a separate alloc'd and init'd view. |
I'm solve this problem by create multiple copy of view |
Hi ilia3546, Can you explain in detail how did you solve this problem... Coz this is driving me crazy... If you share some code that would be helpful.. Thank you. Especially when i use a tableview, the data source and delegate methods are not being called |
#ilia3546 this might helps you.. I'm not sure..about it :-) |
If you add one view multiple times, then the view will appear only in the last item
Example:
-(int)numberOfCellsForCollapseClick {return 3;}
-(UIView *)viewForCollapseClickContentViewAtIndex:(int)index {return imageView;}
We add one view 3 times, but view will appear only in the last CollapseClickCell
The text was updated successfully, but these errors were encountered: