UIImage support for UIBarButtonItem for DismissButtonConfig
psartzetakis opened this issue ยท 6 comments
Hi, ๐
I was thinking that it might be a good feature if there was a way to set an image for the UIBarButtonItem
through the DismissButtonConfig
.
What do you think ? ๐ค
Seems reasonable ๐
We could add a .image(UIImage)
case to the Text
enum:
https://github.com/jessesquires/PresenterKit/blob/develop/Source/DismissButtonConfig.swift#L70-L77
We should probably rename it from Text
to something else... ๐ค
Renaming enum Text
would be a breaking change though ๐ข
Would you recommend a different approach in order to avoid renaming enum Text
?
@psartzetakis - Hm... probably not. I can't really thing of a better way to do this.
It's not a big deal. ๐
However, it would be nice include more changes for the 4.0
release.
However, it would be nice include more changes for the 4.0 release.
@jessesquires I have a couple of ideas..๐ค.
However I believe it would be better to open separate issues so we can discuss them separately.. ๐
However I believe it would be better to open separate issues so we can discuss them separately..
Definitely! ๐ฏ ๐