Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Apple Developer Academy
- swift concurrency
- UITableView
- Swift
- Sendbird
- createml
- watchkit
- Project
- WWDC22
- Complication
- coreml
- widgetkit
- tabman
- cloud functions
- app intents
- ios
- Coding Test
- backend
- Flutter
- SwiftUI
- spring
- github
- task.yield()
- fcm
- Tuist
- UIDatePicker
- Firebase
- 코테
- UIStackView
- Delegate Pattern
Archives
- Today
- Total
목록UITextField (1)
azhy의 iOS 이야기
[iOS/Swift] UITextField 글자 수 제한, 백스페이스 처리
2022년 6월 5일에 작성됨 UITextField를 쓰다 보니 글자 수를 제한해야 하는 경우가 생겼는데 그 방법을 한번 정리해보려 합니다. UITextField 세팅우선 테스트를 위해 view 가운데에 UITextField 하나를 올려두었습니다.class SettingViewController: UIViewController { let textField: UITextField = { let textField = UITextField() textField.translatesAutoresizingMaskIntoConstraints = false textField.layer.cornerRadius = 4 textField.layer.borderWidth..
Swift
2024. 11. 11. 20:15