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 problem with external TyphoonLoadedView outlets #464

Merged
merged 1 commit into from
Dec 18, 2015
Merged

Fixed problem with external TyphoonLoadedView outlets #464

merged 1 commit into from
Dec 18, 2015

Conversation

CognitiveDisson
Copy link
Contributor

I create NSLayoutConstraint to TyphoonLoadedView and create IBOutlet for him. When controller with this view appeared, I changed the constant of the constraint.
This change did not work, because the outlet pointer does not coincide with any constraint of the TyphoonLoadedView.
I found out that the problem lies in the fact that a copy of NSLayoutConstraint.
I changed a copy on changing the value of the source and destination view and add this сonstraint (the same pointer) in view loaded from Nib.
This solved my problem.

@etolstoy
Copy link
Contributor

@CognitiveDisson, thanks for PR! Everything looks fine, let's wait for somebody else from the team to review it.

@etolstoy etolstoy added the bug label Dec 17, 2015
@alexgarbarev
Copy link
Contributor

Looks good to me too.

alexgarbarev added a commit that referenced this pull request Dec 18, 2015
…traint-outle

Fixed problem with external TyphoonLoadedView outlets
@alexgarbarev alexgarbarev merged commit 080a684 into appsquickly:master Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants