Closed regexident closed 10 years ago
The benefit of having them as instance methods is that you don't have to call them via [[self class] ...]
. There really seems like no difference except preference then and I would prefer to have them as instance methods.
Thanks for your changes, it's much appreciated. I'll merge them in and will welcome any more changes should you wish to submit any further pull requests. Some of the items on your list were already on my todo list although I understand if you want to take it in a different direction.
Not much one could merge in, as it basically turned into a complete rewrite from scratch, but here it is, as promised:
Say hello to https://github.com/regexident/DLAlertView ! :)
Fixed several issues, such as:
- (id)init<ClassName>With…
(=>- (id)initWith…
)+ (id)showAlertWith
with+ (instancetype)showAlertWith
[<ClassName> alloc]
within the class itself. This breaks inheritance. Big time. (Use[self alloc]
or[[self class] alloc]
instead.)