Mason
Mason

Reputation: 7103

Confused about UIViewController property in header

On line 69 of UIViewController.h (in iOS 7), a public instance variable id _dimmingView is declared. However, after looking in the documentation and finding no answers, I have no idea what this is used for. Any ideas?

PS This could also be the case for a number of the instance variables declared in UIViewController.h, but I'm focusing on this one because I found it by accident.

Upvotes: 1

Views: 103

Answers (1)

Scott Berrevoets
Scott Berrevoets

Reputation: 16946

This is not a public variable. It is mentioned here that @package means "internal to the framework", so in this case, UIKit. You cannot, and shouldn't, use _dimmingView. I don't believe this is publicly stated anywhere, but any symbol Apple uses that starts with _ is presumed to be private.

Upvotes: 2

Related Questions