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

Fixed the problem discussed in issues 513 #524

Merged
merged 7 commits into from
Aug 26, 2016
Merged

Fixed the problem discussed in issues 513 #524

merged 7 commits into from
Aug 26, 2016

Conversation

CognitiveDisson
Copy link
Contributor

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).

+ (void)load {
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
Class class = [self class];
Copy link

@vasilenkoigor vasilenkoigor Aug 15, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CognitiveDisson

Method swizzling in Typhoon is implemented by TyphoonMethodSwizzler

I think would be better use this util class instead your duplicate ;)

@etolstoy
Copy link
Contributor

@CognitiveDisson thanks for fixes - looks great for me!

@vasilenkoigor
Copy link

@CognitiveDisson Looks good for me too

@alexgarbarev
Copy link
Contributor

Sorry for delay. Finally I did complex review of this PullRequest. This looks good - thanks for PR!

@alexgarbarev alexgarbarev merged commit 4efaaa7 into appsquickly:master Aug 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants