UIView-Shadow-Maker
UIView-Shadow-Maker copied to clipboard
Simple way to get the shadow object
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.