Skip to content
This repository was archived by the owner on Jun 19, 2019. It is now read-only.
This repository was archived by the owner on Jun 19, 2019. It is now read-only.

Why does cas_updateStyling check for self.window? #64

@knopp

Description

@knopp

We need to get certain styled properties before the hierarchy is complete. To do that I manually call cas_updateStyling on view when I know that the hierarchy is deep enough for the proper styles to get applied. This no longer works because cas_updateStyling in UIView+CASAddtions checks for self.window, which is nil at that point. Why does it do the check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions