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

Duplicate keys for NSLayoutAttributeBaseline and NSLayoutAttributeLastBaseline in NSLayoutConstraint+MASDebugAdditions.m #583

Open
2 tasks done
yankaiyu opened this issue Jun 25, 2020 · 1 comment

Comments

@yankaiyu
Copy link

New Issue Checklist

🚫 If this template is not filled out your issue will be closed with no comment. 🚫

  • I have looked at the Documentation
  • I have filled out this issue template.

Issue Info

Info Value
Platform e.g. ios
Platform Version e.g. 13.5
Masonry Version e.g. 1.1.0
Integration Method e.g. carthage/cocoapods/manually

Issue Description

There are duplicate keys in NSLayoutConstraint+MASDebugAdditions.m.

One at

NSLayoutConstraint+MASDebugAdditions.m:49:13: @(NSLayoutAttributeLastBaseline) : @"lastBaseline"

Another one at

NSLayoutConstraint+MASDebugAdditions.m:45:13: @(NSLayoutAttributeBaseline) : @"baseline"

The values of NSLayoutAttributeBaseline and NSLayoutAttributeLastBaseline are the same in the latest SDK (I tested in iOS 13.5). There should be at most one of them used in the dictionary.

⚠️ Replace this with the description of your issue. ⚠️

@cntrump
Copy link
Contributor

cntrump commented May 31, 2021

Fixed #594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants