-
Notifications
You must be signed in to change notification settings - Fork 268
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
Fixed the problem discussed in issues 513 #524
Fixed the problem discussed in issues 513 #524
Conversation
…f an view (fix problems with the cells)
+ (void)load { | ||
static dispatch_once_t onceToken; | ||
dispatch_once(&onceToken, ^{ | ||
Class class = [self class]; |
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.
Method swizzling in Typhoon is implemented by TyphoonMethodSwizzler
I think would be better use this util class instead your duplicate ;)
@CognitiveDisson thanks for fixes - looks great for me! |
@CognitiveDisson Looks good for me too |
Sorry for delay. Finally I did complex review of this PullRequest. This looks good - thanks for PR! |
Solution with a subclass does not work ( in the ios 10 no more ivar firstItem, secondItem).
In the pull request, I implemented another more complicated solution. It works correctly on all operating system versions. I also added integration tests on the transfer of outlets. I hope you are satisfied with this solution, unfortunately more elegant and working solution could not be found. Even with the use swizzle (these solutions also tried).