SwiftUIKit / Marquee

A powerful implementation of Marquee(scrolling text or label) in SwiftUI, which supports any content view, including text(label), image, video, etc.
MIT License
69 stars 19 forks source link

Is this package still maintained? #8

Open stonko1994 opened 1 year ago

stonko1994 commented 1 year ago

@CatchZeng is this repo/package still maintained?

I opened two PRs over a year ago with no response. I love using this package in my own Apps, and I also add some fixes and additional features to it and wanted to give it back to the community. However, it's hard to do so if there is no maintainer.

stonko1994 commented 1 year ago

ping @CatchZeng

stonko1994 commented 10 months ago

I already maintain a custom fork of this, which will be kept up-to-date and will get new features if needed.

nameHabbo commented 5 months ago

@stonko1994

have you ever experianced an issue with trying to run a ForEach loop into it?

Marquee { HStack{ ForEach(function.lastTen(), id: \.matchRecord.id) {index in HStack { Text("\(function.playerName(for: index.matchRecord.playerId))") Text("VS") Text("\(index.winnerName)") Image(systemName: "trophy.fill") } .padding(.trailing, 50) .font(.system(size: 20)) .foregroundColor(.white) } } } .frame(width: 500, height: 50) .background(Color.mint.opacity(0.8)) .marqueeDuration(duration) Im trying to create a Marquee of game resutls but the second the edge of the first result hits the far edge it resets the marquee and doesnt show the other 9 or so results in it.

however when I run the marquee without the extrernal HStack it loops fine, but my game results are on top of each other due to the lack of external HStack.

Marquee { ForEach(function.lastTen(), id: \.matchRecord.id) {index in HStack { Text("\(function.playerName(for: index.matchRecord.playerId))") Text("VS") Text("\(index.winnerName)") Image(systemName: "trophy.fill") } .padding(.trailing, 50) .font(.system(size: 20)) .foregroundColor(.white) } } .frame(width: 200, height: 50) .background(Color.mint.opacity(0.8)) .marqueeDuration(duration)

I see you are still active here, would you mind shedding any light if possible?

stonko1994 commented 5 months ago

@nameHabbo answered it in the other issue you opened: https://github.com/SwiftUIKit/Marquee/issues/9#issuecomment-1948031141