Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ [FEAT] 이미지 마스크 Custom Class 생성 #399

Merged
merged 2 commits into from
Jul 11, 2022

Conversation

jane1choi
Copy link
Member

🍎 관련 이슈

closed #398

🍎 변경 사항 및 이유

  • 마스크가 적용된 이미지를 빠르게 만들 수 있도록 NadoMaskedImgView 커스텀 클래스를 생성하였습니다.

🍎 PR Point

사용방법

스크린샷 2022-07-10 오전 4 05 55

ImageView의 Custom Class를 NadoMaskedImgView로 설정해주세요! (코드베이스도 동일)

VC에서는 아래 코드와 같이 마스크가 될 이미지를 설정해주면 됩니다!!

import UIKit

class TestVC: UIViewController {

    @IBOutlet weak var testImgView: NadoMaskedImgView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        testImgView.maskImg = UIImage(named: "property172")
    }
}

📸 ScreenShot

스크린샷 2022-07-10 오전 4 05 28

@jane1choi jane1choi added 📱 View 뷰 개발(디자이닝)시 사용합니다. 🍎 Feature 새로운 기능 개발시 사용합니다. 💜 은주 💜 은주가 연 pr, issue에 사용 labels Jul 9, 2022
@jane1choi jane1choi added this to In progress in NadoSunbae-iOS for release✨ via automation Jul 9, 2022
@jane1choi jane1choi self-assigned this Jul 9, 2022
Copy link
Member

@hwangJi-dev hwangJi-dev left a comment

Choose a reason for hiding this comment

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

빠르게 만들어줘서 고마워잉~~~ 확인!!

@jane1choi jane1choi merged commit 76c3088 into develop Jul 11, 2022
NadoSunbae-iOS for release✨ automation moved this from In progress to Done Jul 11, 2022
@jane1choi jane1choi deleted the feature/#398-UI-CustomClass-maskedImage branch July 11, 2022 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍎 Feature 새로운 기능 개발시 사용합니다. 💜 은주 💜 은주가 연 pr, issue에 사용 📱 View 뷰 개발(디자이닝)시 사용합니다.
Development

Successfully merging this pull request may close these issues.

✨ [FEAT] 이미지 마스크 Custom Class 생성
2 participants