sunny-side up
로그인
sunny-side up
로그인
Ch.5 Silver: Rebuild the Conversion Interface
sun
·
2022년 1월 21일
팔로우
0
0
iOS Programming: The Big Nerd Ranch Guide
목록 보기
5/20
# Conversion 인터페이스를 코드로 생성하기
딱히 정리할 건 없는데 UILabel 의 font size 를 변경하고 싶으면
myLabel.font = myLabel.font.withSize(someCGFloat)
과 같이 바꿔야 한다는 정도...?
그리고 반복되는 작업을 메서드로 빼줘서 좀 더 깔끔하게 작성하려고 노력했다
sun
☀️
팔로우
이전 포스트
Ch.5 Bronze: Points of Interest
0개의 댓글
댓글 작성