iOS/UIKit

    [UIKit] UIScrollView "Scrollable content size is ambiguous." 에러 해결

    아래 코드처럼 요상하게 구현했었는데... 조작하는 데나 보여지는 뷰에서는 아무 문제가 없었지만, View Hierarchy를 보면 제약조건 에러가 있는 게 너무너무 거슬려서 결국 해결했다! (평소 scrollView 에러는 터치나 스크롤이 안 되는 등의 문제가 있었지만, 이 경우는 모든 인터랙션이 다 가능하긴 했음.) 원래 코드 (SnapKit 사용) self.view.addSubviews([scrollView]) self.scrollView.addSubview(contentView) self.contentView.addSubviews([infoTitleLabel, profileInfoView, tagTitleLabel, tagCollectionView, emailTitleLabel, emailButto..

    [UIKit] UIButton Custom Design 적용

    부제: 예쁜 버튼 만들기 phoneNumDoneBtn.backgroundColor = .gray phoneNumDoneBtn.layer.cornerRadius = 4 phoneNumDoneBtn.setTitleColor(.white, for: .normal) 적용하면 이런 너낌!

    [UIKit] UITableView 빈 셀 숨기기

    tableView.tableFooterView = UIView(frame: CGRect.zero) 그냥 UIView 하나 끌어다 스토리보드에 놓아도 되지만 코드 한 줄이 더 편하길래~~~~

    [PagingKit] Could not load NIB in bundle error 해결

    PagingKit GitHub - kazuhiro4949/PagingKit: PagingKit provides customizable menu UI. It has more flexible layout and design than the other PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries. - GitHub - kazuhiro4949/PagingKit: PagingKit provides customizable menu UI. It has more fl... github.com 페이징 키트를 이용해 뷰를 만든 후, 다른 뷰에도 페이징 키트가 필요해서 기존 파일들을 ..