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

Add checks for whether a view has constraints added to it or not #68

Open
3 tasks
theextremeprogrammer opened this issue Dec 6, 2020 · 0 comments
Open
3 tasks

Comments

@theextremeprogrammer
Copy link
Owner

Highlights:

  • Throw an error (in tests that check for that view) if the view does not have any constraints added
  • Include this in a superclass so that it applies to all views and doesn't need to be added to each view type (UILabel, UIButton, etc).
  • Test this using an array of different view types and a Quick test which can be applied to all of them and just use 2-3 view types as examples (UILabel, UIButton, UITextView, etc).

See also related #67

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

1 participant