UIView-Shadow-Maker icon indicating copy to clipboard operation
UIView-Shadow-Maker copied to clipboard

Simple way to get the shadow object

Open daaa57150 opened this issue 10 years ago • 0 comments

Hi!

I like what you did, that was really useful, thanks. But I think it would be neat to have a way to get the generated UIView somehow, so it can be manipulated. I needed that (toggle on/off with the 'hidden' property), so I just changed your methods to return the view. You may want to expose it somehow too. Maybe a getter would be less confusing:

  • (UIView *)insetsShadowView;

Although that would mean there can be only one of them.

daaa57150 avatar Apr 17 '14 15:04 daaa57150