Reputation: 107
Im just going through a video tutorial on swaping views.
see code below please:
NSArray *subs = [window subviews];
The "window subviews" code simply returns the views into the array subs.
But I checked the UIWindow class and I cannot find the property "subviews". Please help, no point my watching video tutorials if I dont understand the code.
many thanks
Upvotes: 0
Views: 148
Reputation: 5291
UIWindow inherits from UIView. UIView has the subviews property.
Upvotes: 1