본문 바로가기

전체 글533

[iOS] 레이아웃 update cycle [iOS] Update Cycle: 뷰 업데이트 메소드 iOS 개발을 하면서 매일 뷰와 사용자와 interaction이 가능한 다양한 UI Components를 만들지만 "View Rendnering" 에 대한 이해가 부족함을 느꼈습니다. View에 대한 이해가 부족하니 문제 해결도 잘 안됐던 sueaty.tistory.com [번역] iOS 레이아웃의 미스터리를 파헤치다 iOS의 UIView가 그려지는 과정과 메소드들을 살펴봅니다. medium.com Main Run Loop main run loop는 유저로부터 모든 input 이벤트를 받고 적절한 응답을 해준다. 때문에 유저가 발생시킨 모든 상호작용은 event queue에 추가되고 Application object는 event queue로부터 이벤.. 2022. 4. 18.
[iOS] autoresizingMask iOS ) translatesAutoresizingMaskIntoConstraints 안녕하세요 :) Zedd입니다. 오늘은...! translatesAutoresizingMaskIntoConstraints..!을 정확히 알아보는 공부~.~ translatesAutoresizingMaskIntoConstraints 사실 엄청 많이 보셨을 코드에요. self.view.trans.. zeddios.tistory.com autoresizingMask superview의 bound가 변할 때, receiver스스로 size를 변경할 수 있게 하는 integer bit mask이다. 특정 view의 bound가 변하면, view는 자동으로 subview 각자의 autoreSizing mask에 따라서 subvie.. 2022. 4. 16.
[iOS Issue] Lottie 리소스 용량 관련 이슈 Json files is taking more time to load(Approximately 1.7 secounds) · Issue #1224 · airbnb/lottie-ios Hi Folks, Here in my current application am using the Lottie json files for animations, json file size is 1.2mb. which is loading quite good in lottie preview website. When i'm integrating the ... github.com 내가 겪은 이슈와 거의 동일한 이슈인 것 같다. 1.2mb의 json파일을 로딩하는데 1개를 로드할 때는 1.7초, 3개를 로드할 때는 2.8초가 걸렸으며 us.. 2022. 4. 16.
[iOS] KVO (Key-Value Observing) Key-Value Observing(KVO) in Swift 안녕하세요 :) Zedd입니다. 오늘은 KVO에 대해서 공부! # KVO - Key-Value Observing의 약자 - 객체의 프로퍼티의 변경사항을 다른 객체에 알리기 위해 사용하는 코코아 프로그래밍 패턴 - Model과 View와 같 zeddios.tistory.com Apple Developer Documentation developer.apple.com KVO (Key-Value Observing) Key-Value Observing의 약자 객체의 특정 프로퍼티의 변경사항을 다른 객체에 알리기 위해 사용하는 코코아 프로그래밍 패턴 Model가 View와 같이 논리적으로 분리된 파트 간의 변경사항을 전달하는데 유용하다. NSObject를.. 2022. 4. 16.