TIL_220826

애드·2022년 9월 9일

TIL

목록 보기
19/26

네이버 로그인
https://velog.io/@parkgyurim/iOS-SwiftUI-Naver-Login
https://sweetdev.tistory.com/694
https://developer-fury.tistory.com/18
https://ios-development.tistory.com/142

https://agonictise.tistory.com/4

url scheme
https://help.dfinery.io/hc/ko/articles/360039757433-딥링크-Deeplink-URI스킴-유니버셜-링크-앱링크-구분과-이해

https://jane514.tistory.com/7

https://doogle.link/jwt-혹은-oauth2-의-refresh-토큰을-어디다-저장해야-할까/

layoutSubviews() 주의사항

You should override this method only if the autoresizing and constraint-based behaviors of the subviews do not offer the behavior you want.

뷰의 크기가 변경될 때마다 이에 대응하여 하위 뷰들의 크기&위치 변경되어야 함 -> auto layout을 사용하면 각 뷰의 autoresizingMask프로퍼티를 설정하여 상위 뷰의 크기가 변경되었을 때 어떻게 대응할 지 규칙을 정할 수 있음
뷰의 크기에 변경이 발생하면 우선 하위 뷰들의 autoresizing 동작을 적용하는데, 변경사항을 반영하기 위하여 layoutSubviews()메서드를 호출 (이 메서드 역시 하위 뷰들에서도 연쇄적으로 호출 됨)
출처: https://ios-development.tistory.com/195

padding
UIView 오브젝트들의 사이드 padding 등을 위해 left/rightView 사용할 때 left/rightView에 UIView인스턴스를 잘 할당해주고 left/rightViewMode를 .always 설정해줘야 항상 보인다.

UIView 특정부분 border 추가
https://archijude.tistory.com/191

UIPickerView
https://leechamin.tistory.com/457

연속된 숫자의 String array를 만드려면 우선 Int array를 선언해야
https://stackoverflow.com/questions/31003977/how-can-i-convert-an-int-array-into-a-string-array-in-swift

UIButton으로 picker view 가져오기
https://zartt.tistory.com/9

UINavigationBar
https://velog.io/@sun02/iOS-UINavigationBar-코드로-작성하기

profile
2차전직 개발자가 되자

0개의 댓글