Skip to content

Add checks to views to ensure they are added as a subview to a parent view #67

@theextremeprogrammer

Description

@theextremeprogrammer

Highlights:

  • Throw an error (in tests that check for that view) if the view cannot be found
  • 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions