Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable subclassing for types that aren't meant to be subclasses #8

Open
toshok opened this issue Dec 30, 2011 · 0 comments
Open

disable subclassing for types that aren't meant to be subclasses #8

toshok opened this issue Dec 30, 2011 · 0 comments

Comments

@toshok
Copy link
Owner

toshok commented Dec 30, 2011

The following list of types is "not intended for subclassing" in the UIKit notes:

  • UIAlertView
  • UITabBarController
  • UINavigationController
  • UIImagePickerController
  • UIViewPrintFormatter
  • UIWebView

not sure how to handle this, except perhaps by throwing an exception in the ctor when the arg list doesn't contain a handle perhaps? Actually that should work.

Auditing other class libraries is going to be a serious pain...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant