추후 보기 좋게 글을 다듬어 갈 예정 inputTextField.delegate = self NotificationCenter.default.addObserver(self, selector:#selector(keyboardWillShow), name: UIResponder.keyboardWillShowNotification, object: nil) NotificationCenter.default.addObserver(self, selector:#selector(keyboardWillHide), name: UIResponder.keyboardWillHideNotification, object: nil) 로 text field delegate 등록 및 옵저버 등록 @objc private func keybo..
나는 위 쪽에 테두리를 추가하고 싶었다. func addTopBorder(with color: UIColor?, andWidth borderWidth: CGFloat) { let border = UIView() border.backgroundColor = color border.autoresizingMask = [.flexibleWidth, .flexibleBottomMargin] border.frame = CGRect(x: 0, y: 0, width: inputTextField.frame.width, height: borderWidth) inputTextField.addSubview(border) } 이렇게 설정하고 addTopBorder(with: UIColor.black, andWidth: CGFl..
Swift TableView의 구분선 없애기 Swift Version 5 Xcode Version 11.5 Swift에서 TableView , TableViewController를 사용할 경우 기본적으로 아래와 같이 구분선?이 나오게 된다. 이 때 구분선을 없애는 방법은 다음과 같다. 1. xib 파일을 이용할 경우 위와 같이 xib 파일을 이용할 경우 우측에 있는 Inspector를 보면 이렇게 Table View - Separator - Default로 설정되어 있는데, 이 부분을 None으로 바꾸면 구분선이 사라진다. 2. Code로 구현할 경우 코드로서 테이블 뷰나 테이블 뷰 컨트롤러를 구현할 경우가 있는데, 그럴 때는 tableView.separatorStyle = .none 로 설정하면 된다...
let leftPadding = UIView(frame: CGRect(x: 0, y: 0, width: 15, height: self.inputTextField.frame.height)) inputTextField.leftView = leftPadding inputTextField.leftViewMode = UITextField.ViewMode.always let rightPadding = UIView(frame: CGRect(x: 0, y: 0, width: inputButton.frame.width + 10, height: self.inputTextField.frame.height)) inputTextField.rightView = rightPadding inputTextField.rightViewM..
httpd -v
- Total
- Today
- Yesterday
- codable
- Viewcontroller data
- loadView viewDidLoad
- urlrequest 모듈화
- codable date
- ios framework device simulator
- UIUserInterfaceStyle
- User Interface Style
- urlrequest 공통화
- urlsession 모듈화
- passing data between ViewControllers
- Swift 프로젝트에서 Objective-C
- swift codable
- swift json parsing
- urlsession 공통화
- swift generic
- swift json 파싱
- 코르도바 플러그인
- 코르도바 iOS
- ios universal framework
- 코르도바 iOS Framework
- 코르도바 Swift
- Objective-C 프로젝트에서 Swift
- RxSwift UITetxtField
- linux java 설치
- swift delegate
- UITextField 글자수 제한하기
- loadView
- passing data between ViewController and View
- iOS Dark Mode
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |