SegmentedProgressBar icon indicating copy to clipboard operation
SegmentedProgressBar copied to clipboard

Remove particular segment

Open Ruchitdifferenz opened this issue 7 years ago • 4 comments

I am trying to delete particular data from its index but at that time segmented progress bar not reload or reset , it shows previous index data. please let me know remove data from particular index and move to next.
I had used all functionalities of skip, pause and previous. all these functionalities works awesome.

I want to use this like Instagram stories.

I had trying method for delete is give as below

func delete() { let currentSegment = segments[currentAnimationIndex] currentSegment.topSegmentView.frame.size.width = currentSegment.bottomSegmentView.frame.width let newIndex = max(currentAnimationIndex - 1, 0) if newIndex < self.segments.count { self.delegate?.segmentedProgressBarChangedIndex(index: newIndex) self.animate(animationIndex: newIndex) } else { self.delegate?.segmentedProgressBarFinished() } }

If any changes let me know

Ruchitdifferenz avatar Feb 27 '18 12:02 Ruchitdifferenz

Sadly I don't have any time to help you here. Sorry!

D-32 avatar Feb 27 '18 21:02 D-32

Thanks for the reply

Ruchitdifferenz avatar Feb 28 '18 05:02 Ruchitdifferenz

Hi @Ruchitdifferenz, Have you managed to do so?

daniaDlbani avatar Mar 28 '18 11:03 daniaDlbani

Hi @Ruchitdifferenz i'm also work like instagram multiple story if you have any more improvement please help me.

i have also the demo but is not work properly. here is main problem Live video streaming and UIpageviewcontroller is hung.

DGP13 avatar Aug 06 '18 14:08 DGP13