alexanderjarvis / PXAlertView

A drop-in replacement for UIAlertView that is more customisable and skinnable
MIT License
592 stars 95 forks source link

Fixed inheritance #14

Closed debris closed 10 years ago

debris commented 10 years ago

Let's assume we have CustomAlertView class inheriting from PXAlertView. Calling "showAlertWithTitle" on CustomAlertView will return object of class PXAlertView. In static PXAlertView methods we should use [self class] instead of PXAlertView.

alexanderjarvis commented 10 years ago

Thank you