-
Notifications
You must be signed in to change notification settings - Fork 31
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
Provide rex_prepareForReuse for UITableView and UICollectionView components #104
Provide rex_prepareForReuse for UITableView and UICollectionView components #104
Conversation
In case of positive feedback about adding this I can extend it to UICollectionView's components. |
👍 on the idea. I'd go with |
I like |
I agree, |
@RuiAAPeres @neilpa I noticed that there are other signals using this convention |
I agree. Open a new PR for that. |
…y reusable components
I adopted another approach to provide this, instead of having the same property in each class I created a protocol |
// | ||
|
||
import Foundation | ||
import ReactiveCocoa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove Foundation, for simplicity sake ( #103 )
All fixed (I think) 🔎 |
Awesome! 👍 |
Now that we have
rex_toTriggerSignal
, thanks to @RuiAAPeres, we may bring a swifty version ofrac_prepareForReuseSignal
. It's only syntactic sugar but it can be quite useful.Example: