본문 바로가기
영어공부

[독해 공부] intrinsicContentSize

by 초가을우엉차 2023. 1. 1.

intrinsicContentSize

고유 컨텐츠 크기

The natural size for the receiving view, considering only properties of the view itself.
- 기본 크기, 수신 뷰의, 오직 뷰 자체의 속상만을 고려한
 

Declaration

var intrinsicContentSize: CGSize { get }​

 

Discussion

 

Custom views typically have content that they display of which the layout system is unaware

-  사용자 정의의 뷰는 일반적으로 컨텐츠를 갖습니다. 그 컨텐츠는 표시합니다. 그 레이아웃 시스템이 인식하지 못하는

 

 

Setting this property allows a custom view to communicate to the layout system what size it would like to be based on its content.

- 이 속성의 설정은 허용합니다. 커스텀 뷰가,  커뮤니케이션하기를, 레이아웃 시스템과, 사이즈를, 그 사이즈는 그것의 컨텐츠를 기반으로한

-> 구글 번역 : 이 속성을 설정하면 사용자 지정 보기가 콘텐츠를 기반으로 원하는 크기를 / 레이아웃 시스템과 통신할 수 있습니다.

 

 

This intrinsic size must be independent of the content frame, because there’s no way to dynamically communicate a changed width to the layout system based on a changed height, for example.

- 이 고유 사이즈는 반드시 독립적이어야 합니다. 그것의 컨텐츠 프레임에서 / 왜냐하면 방법이 없습니다 동적으로 통신할 방법이 , 변화된 가로폭이 레이아웃 시스템이 / 변화된 높이를 기반으로 한

 

 

If a custom view has no intrinsic size for a given dimension, it can use noIntrinsicMetric for that dimension.

- 만약 커스텀 뷰가 고유 크기를 가지지 않는다면 / 지정된 측정기준에서, 이것은 고유하지 않은 메트릭 옵션을 사용할 수 있습니다. 그 측정기준을


영어 단어

  • intrinsic : 고유 / 본질적인
  • natural : 기본적인 / 자연스러운
  • typically : 일반적으로 / 관습적으로
  • dimension : 측정기준 / 치수, 차원, 넓이

 


출처

'영어공부' 카테고리의 다른 글

[독해 공부] UIStackView  (0) 2023.01.04
[독해 공부] UICollectionViewDelegateFlowLayout  (0) 2023.01.04

댓글