主页
迈腾大队长
Cancel

Preface These past few days have been quite busy. Today I bring you the implementation of Douyin’s transition animation. Enough talk — here’s the picture. This requires the swipe up/down demo f...

Preface These past few days I ran into a problem: when a pan gesture is applied to a view, I couldn’t distinguish its direction. So I found the answer on StackOverflow and documented it here. - ...

Preface Hi everyone, it’s me again. Today I’m sharing the implementation of the Douyin (TikTok) like animation. Enough talk, let me show you the pictures. The main technical points covered in t...

Preface I’ve spent the past few days wrestling with the open-source TikTok (Douyin) demo. Today I’m sharing the video loading animation used in TikTok or Kuaishou. Here’s the finished result: ...

Preface In Core Animation, we often use CABasicAnimation or its subclasses to create animations. In most cases we have to use a keypath. I’ve been studying animations recently and want to organiz...

Preface A couple of days ago I shared Douyin’s vertical swipe switching. Today I’d like to share the album animation at the bottom-right corner of Douyin. Here’s what it looks like: And here’s...

Preface I’ve been studying how Douyin’s short video app implements the vertical top-to-bottom swiping. Today I wrote a demo to make it easier to learn the technique and record the knowledge. Te...

Preface I wrote a simple number multiple animation implemented with opacity and scale Implementation Approach The code is easier to understand // Number bounce animation - (void)labelDanceAni...

Preface The holiday is approaching, and I’m worried about not updating articles in time during the National Day holiday. So I’m finishing this one early to keep up my two-articles-a-month output. ...

Preface During development, I often encounter a UIButton whose tap area is too small, but I don’t want to change the button’s size. Today’s article shares the code that solves this problem. Impl...