Open DaraChanis opened 4 years ago
` open func open() { self.isOpen = true self.initialExpansionAllowed = false if highlightAnimation == .animated { UIView.animate(withDuration: 0.1) {[weak self] in self?.arrowImageView.layer.transform = CATransform3DMakeRotation(CGFloat(Double.pi), 1.0, 0.0, 0.0) } } }
open func close() { self.isOpen = false if highlightAnimation == .animated { UIView.animate(withDuration: 0.1) {[weak self] in self?.arrowImageView.layer.transform = CATransform3DMakeRotation(CGFloat(Double.pi), 0.0, 0.0, 0.0) } } }`
` open func open() { self.isOpen = true self.initialExpansionAllowed = false if highlightAnimation == .animated { UIView.animate(withDuration: 0.1) {[weak self] in self?.arrowImageView.layer.transform = CATransform3DMakeRotation(CGFloat(Double.pi), 1.0, 0.0, 0.0) } } }