Closed HassanTaleb90 closed 8 months ago
The optional is just for safety's sake, to prevent the app from crashing if a non-existent image is passed, as when using a UIImageView image.
It's good idea but developer can use if let condition for safe unwrap. Can you remove it from PR?
Updated
I see you changed size of old version, why?
I see you changed size of old version, why?
It seems to me that the old size is too small. The title breaks to a new line for just a few words. Example: "Unable to Add Documentation" ->
Unable to Add Documentation
I see. I follow native one of apple examples, but I see you want customise it. I will think how better solve it.
For now proposing drop changes of height and left rest changes with top/bottom and optional changes.
Thanks for your PR! I ready to merge, but need remove optional image for custom. If need only text just skip passing alert icon model.