diff --git a/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/Contents.json b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/Contents.json index d628b9f..289852a 100644 --- a/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/Contents.json +++ b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/Contents.json @@ -1,15 +1,23 @@ { "images" : [ { - "filename" : "ios_profil_image.svg", - "idiom" : "universal" + "filename" : "ios_profil_image.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "ios_profil_image@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "ios_profil_image@3x.png", + "idiom" : "universal", + "scale" : "3x" } ], "info" : { "author" : "xcode", "version" : 1 - }, - "properties" : { - "preserves-vector-representation" : true } } diff --git a/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image.png b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image.png new file mode 100644 index 0000000..729a7a1 Binary files /dev/null and b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image.png differ diff --git a/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image.svg b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image.svg deleted file mode 100644 index 3b1dfc0..0000000 --- a/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image@2x.png b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image@2x.png new file mode 100644 index 0000000..13fb0fe Binary files /dev/null and b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image@2x.png differ diff --git a/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image@3x.png b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image@3x.png new file mode 100644 index 0000000..b5a1554 Binary files /dev/null and b/HMH_iOS/HMH_iOS/Global/Resources/Assets.xcassets/ios_profil_image.imageset/ios_profil_image@3x.png differ diff --git a/HMH_iOS/HMH_iOS/Presentation/MyPage/Cells/UserPointHeaderView.swift b/HMH_iOS/HMH_iOS/Presentation/MyPage/Cells/UserPointHeaderView.swift index 10b1e67..e0d456d 100644 --- a/HMH_iOS/HMH_iOS/Presentation/MyPage/Cells/UserPointHeaderView.swift +++ b/HMH_iOS/HMH_iOS/Presentation/MyPage/Cells/UserPointHeaderView.swift @@ -22,8 +22,8 @@ final class UserPointHeaderView: UICollectionReusableView { $0.alignment = .center } - private let userprofilView = UIView().then { - $0.backgroundColor = .gray6 + private let userprofilImageView = UIImageView().then { + $0.image = ImageLiterals.myPage.icProfil $0.makeCornerRound(radius: 27) } @@ -105,7 +105,7 @@ final class UserPointHeaderView: UICollectionReusableView { func setHierarchy() { self.addSubviews(userStackView, pointBadgeView) - userStackView.addArrangeSubViews([userprofilView, userLabel]) + userStackView.addArrangeSubViews([userprofilImageView, userLabel]) pointBadgeView.addSubviews(myPointButtonStackView, lineView, myBadgeButtonStackView) myPointButtonStackView.addArrangeSubViews([myPointLabel, pointStackView]) pointStackView.addArrangeSubViews([countPointLabel, pointLabel]) @@ -119,7 +119,7 @@ final class UserPointHeaderView: UICollectionReusableView { $0.leading.equalToSuperview().inset(20.adjustedHeight) } - userprofilView.snp.makeConstraints { + userprofilImageView.snp.makeConstraints { $0.size.equalTo(54.adjusted) }