본문 바로가기

iOS

[iOS UIKit in Swift 4] 여러타입의 버튼들 표현하기 (Various buttons are displayed with UIButton) 여러타입의 버튼들 표현하기 버튼들을 타입별로 생성해봤습니다.UIButton에서 ButtonType이 enum으로 (custom, system, detailDisclosure, infoLight, infoDark, contactAdd)가 제공됩니다. 아래 스크린샷과 소스코드를 비교해보시면 좀 더 이해하기 편할겁니다.궁금하신점은 댓글로 달아주세요. 해피코딩 :) Preview Source Githubhttps://github.com/calmone/iOS-UIKit-component ReferenceUIColor https://developer.apple.com/reference/uikit/uicolor UIButton https://developer.apple.com/reference/uikit/uibutton
[iOS UIKit in Swift 4] UIButton 사용하기 (Display buttons with UIButton) UIButton 사용하기 라운드처리된 버튼에 텍스트를 입력하여 표현해봤습니다.버튼의 상태가 Normal 일 때 Highlighted일 때 타이틀의 컬러를 다르게 적용했습니다. 아래 스크린샷과 소스코드를 비교해보시면 좀 더 이해하기 편할겁니다.궁금하신점은 댓글로 달아주세요. 해피코딩 :) Preview Source Githubhttps://github.com/calmone/iOS-UIKit-component ReferenceUIColor https://developer.apple.com/reference/uikit/uicolor UIButton https://developer.apple.com/reference/uikit/uibutton
[iOS UIKit in Swift 4] UILabel에 텍스트 표시하기 (Display characters with UILabel) UILabel에 텍스트 표시하기라운드처리된 UILabel에 텍스트를 입력하여 표현해봤습니다.아래 스크린샷과 소스코드를 비교해보시면 좀 더 이해하기 편할겁니다.궁금하신점은 댓글로 달아주세요. 해피코딩 :) Preview Source Githubhttps://github.com/calmone/iOS-UIKit-component ReferenceUIColor https://developer.apple.com/reference/uikit/uicolor UILabel https://developer.apple.com/reference/uikit/uilabel