Replaced deprecations with new methods.

Replaced deprecations with new methods.
renamed the boolean for checking if view is a category

renamed the boolean for checking if view is a category to match up with superviews boolean