From 50a5933acf7624044ce7e6c985466b4f6774b114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=B1=84=EC=9D=80?= Date: Wed, 25 Oct 2023 14:38:40 +0900 Subject: [PATCH] =?UTF-8?q?Refactor=20[#269]=20=EB=82=B4=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=ED=95=84=20=EB=A9=94=EC=9D=B8=20=EA=B3=A0=EC=B0=A8?= =?UTF-8?q?=ED=95=A8=EC=88=98=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Profile/Main/Cell/MyFriendSkeletonTableViewCell.swift | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/YELLO-iOS/YELLO-iOS/Presentation/Profile/Main/Cell/MyFriendSkeletonTableViewCell.swift b/YELLO-iOS/YELLO-iOS/Presentation/Profile/Main/Cell/MyFriendSkeletonTableViewCell.swift index 27a65da9..9b328613 100644 --- a/YELLO-iOS/YELLO-iOS/Presentation/Profile/Main/Cell/MyFriendSkeletonTableViewCell.swift +++ b/YELLO-iOS/YELLO-iOS/Presentation/Profile/Main/Cell/MyFriendSkeletonTableViewCell.swift @@ -95,8 +95,10 @@ extension MyFriendSkeletonTableViewCell { } func showShimmer() { - self.profileImageView.animateShimmer() - self.nameLabel.animateShimmer() - self.schoolLabel.animateShimmer() + let shimmerArray = [profileImageView, nameLabel, schoolLabel] + + shimmerArray.forEach { + $0.animateShimmer() + } } }