LiquidFloatingActionButton icon indicating copy to clipboard operation
LiquidFloatingActionButton copied to clipboard

The "enableShadow" option is ignored (Objective-C)

Open petrdvorak opened this issue 8 years ago • 1 comments

I create a floating button like a pro... ;-)

CGRect floatingFrame = CGRectMake(self.view.frame.size.width - 84, self.view.frame.size.height - 84, 64, 64);
_floatingActionButton = [[LiquidFloatingActionButton alloc] initWithFrame: floatingFrame];
_floatingActionButton.enableShadow = false;
_floatingActionButton.color = ZG_COLOR_BLUE;
_floatingActionButton.dataSource = self;
_floatingActionButton.delegate = self;
[self.view addSubview:_floatingActionButton];

However, the "enableShadow" option does not propagate as it should.

If I manually edit "CircleLiquidBaseView" and change "var enableShadow = true" to "false", it works as expected...

petrdvorak avatar Feb 28 '16 03:02 petrdvorak

@petr-inmite you could share LiquidFloatingActionButton for objective-c now I try to integrate my project based on objective-c but not had any success and, you could help me with this

sphairo avatar Apr 08 '16 05:04 sphairo