JRMFloatingAnimation
JRMFloatingAnimation copied to clipboard
maxFloatObjectSize and minFloatObjectSize not change
When changes in to default default object size it is not changing in initWithStartingPoint Method
- (id)initWithStartingPoint:(CGPoint)startingPoint { self = [super init]; if (self) { self.startingPoint = startingPoint; self.backgroundColor = [UIColor clearColor]; self.images = [NSMutableArray new]; self.floatingShape = JRMFloatingShapeStraight; self.maxFloatObjectSize = 300; self.minFloatObjectSize = 200; self.animationDuration = 2; self.firstAnimation = YES; self.customWidth = NO; self.maxAnimationHeight = self.startingPoint.y; self.minAnimationHeight = self.startingPoint.y * 1/3; self.removeOnCompletion = YES; } return self; }