Skip to content

feat: add streaming animation support for newly appended content#139

Merged
hryhoriiK97 merged 5 commits intomainfrom
feat/streaming-fade-animation
Mar 7, 2026
Merged

feat: add streaming animation support for newly appended content#139
hryhoriiK97 merged 5 commits intomainfrom
feat/streaming-fade-animation

Conversation

@hryhoriiK97
Copy link
Copy Markdown
Collaborator

@hryhoriiK97 hryhoriiK97 commented Mar 7, 2026

What/Why?

Testing

PR Checklist

  • Code compiles and runs on iOS
  • Code compiles and runs on Android
  • Updated documentation/README if applicable
  • Ran example app to verify changes

@hryhoriiK97 hryhoriiK97 marked this pull request as ready for review March 7, 2026 16:09
@hryhoriiK97 hryhoriiK97 changed the title feat: add streaming fade animation feat: add streaming animation support for newly appended content Mar 7, 2026
@hryhoriiK97 hryhoriiK97 merged commit 76f37d3 into main Mar 7, 2026
5 checks passed
@hryhoriiK97 hryhoriiK97 deleted the feat/streaming-fade-animation branch March 8, 2026 19:10

_startTime = CACurrentMediaTime();
_displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(step:)];
_displayLink.preferredFramesPerSecond = 60;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hryhoriiK97 not sure, but wouldn't this cap the animation at 60 FPS, meaning it wouldn't be fully utilized on 120hz iPhones?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fobos531 yes, thanks for the catch! I've created a PR with the fix - #141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants