From e2f3e5549a1eabe6c5d835fb86cb78b961e746f6 Mon Sep 17 00:00:00 2001 From: fish Date: Mon, 20 Jul 2026 23:00:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=8A=A8=E6=95=88=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E9=80=90=E8=A1=8C=E6=B8=90=E5=85=A5=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BB=8E=E4=B8=8A=E5=88=B0=E4=B8=8B=E4=BE=9D=E6=AC=A1?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84=E8=BF=87=E6=B8=A1=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .../Views/WordListViewController.swift | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/LearnEnglish/LearnEnglish/Views/WordListViewController.swift b/LearnEnglish/LearnEnglish/Views/WordListViewController.swift index 05d249f..7997e44 100644 --- a/LearnEnglish/LearnEnglish/Views/WordListViewController.swift +++ b/LearnEnglish/LearnEnglish/Views/WordListViewController.swift @@ -155,9 +155,17 @@ final class WordListViewController: UIViewController { } else { words.shuffle() } - UIView.transition(with: tableView, duration: 0.25, options: .transitionCrossDissolve, animations: { - self.tableView.reloadData() - }) + tableView.reloadData() + let cells = tableView.visibleCells + for (i, cell) in cells.enumerated() { + cell.alpha = 0 + cell.transform = CGAffineTransform(translationX: 0, y: 12) + UIView.animate(withDuration: 0.3, delay: Double(i) * 0.03, + options: [.curveEaseOut, .allowUserInteraction]) { + cell.alpha = 1 + cell.transform = .identity + } + } } private func updateVisibleSpeakers() {