AppStoreStyleHorizontalScrollView icon indicating copy to clipboard operation
AppStoreStyleHorizontalScrollView copied to clipboard

scrollview add items Not remove

Open yoonjason opened this issue 7 years ago • 1 comments

let horizontalScrollView = ASHorizontalScrollView(frame:CGRect(x: 0, y: 0, width: timesView.frame.size.width, height: 50)) timeButtonsArr.removeAll() horizontalScrollView.removeAllItems() ->> Not Working timesView.addSubview(horizontalScrollView) for _ in 1...3{ let button = UIButton(frame: CGRect.zero) button.backgroundColor = UIColor.blue horizontalScrollView.addItem(button) } Give me a solution... plz.

Result of call to 'removeAllItems()' is unused

yoonjason avatar Jul 14 '17 08:07 yoonjason

I see your another question, it looks like the same question? If so, please close the other one.

To answer your question, I need to know why you would like to remove all items before adding any item?

terenceLuffy avatar Jul 14 '17 13:07 terenceLuffy