pmusolino / PMAlertController

PMAlertController is a great and customizable alert that can substitute UIAlertController
MIT License
2.53k stars 186 forks source link

Add initialisers with NSAttributedString #85

Open JeanCharlesNeboit opened 5 years ago

JeanCharlesNeboit commented 5 years ago

Add initialisers to PMAlertController and PMAlertAction classes to allow customise the alert even more.

pmusolino commented 5 years ago

Hi there. Thanks for opening this PR. What is the reason to have custom initializer when you have the possibility to works on labels?

JeanCharlesNeboit commented 5 years ago

Hi @pmusolino. You are right but I think it's more elegant to use specialised initialiser instead of create an instance of alert with String initialiser and afterwards set the attributedText property.