iOS/Swift
[iOS UIKit in Swift 4] UIButton 사용하기 (Display buttons with UIButton)
콤씨
2018. 9. 21. 15:19
UIButton 사용하기
라운드처리된 버튼에 텍스트를 입력하여 표현해봤습니다.
버튼의 상태가 Normal 일 때 Highlighted일 때 타이틀의 컬러를 다르게 적용했습니다.
아래 스크린샷과 소스코드를 비교해보시면 좀 더 이해하기 편할겁니다.
궁금하신점은 댓글로 달아주세요.
해피코딩 :)
Preview


Source
Github
https://github.com/calmone/iOS-UIKit-component
Reference