P92. [window bounds]


#1

How can this be called? I looked in the documentation for UIWindow and there isn’t a method called ‘bounds’ to call on UIWindow objects.

The only thing i can think of is that it’s getting it from HynosisView.m where CGRect bounds is created, but if that is the case i still don’t understand how that happens in the first place.


#2

Remember that UIWindow is a subclass of UIView, which defines a -bounds method.