본문 바로가기
etc/공식문서 정리

About Asset catalogs

by IT learning 2021. 6. 30.
728x90

에셋 카탈로그를 이용하여 앱에 사용하는 이미지, 스프라이트, 텍스처, 스티커, 데이터 등을 관리할 수 있다.

(Use asset catalogs to organize and manage the different asset types used by your app, such as images, sprites, textures, stickers, and data.)

에셋 카탈로그에는 여러 타입의 에셋이 포함될 수 있으며, 에셋들을 폴더로 그룹화 할 수 있다.

(An asset catalog can contain multiple types of assets and the assets can be grouped into folders.)

 

대부분의 에셋 타입들은 다양한 디바이스 특성을 지원하기 위해 여러 변형을 할수 있는 파일 세트이다.

(Most types of assets are a set of files that can have multiple variations to support different device characteristics.)

 

예를 들어, 아이폰과 아이패드에 사용되는 2x ,3x 이미지 형식의 서로 다른 파일을 이미지 세트에 포함할 수 있다.

(For example, an image set can contain different files in any supported image format for the 2x and 3x images used for an iPhone and for an iPad.)

 

엑스코드의 템플릿을 이용하여 프로젝트를 생성할 경우, 앱스토어에 앱을 올릴때 필요한 앱스토어 아이콘을 비롯한 아이콘에 대한 비어있는 항복들이 포함된 에셋 카탈로그가 포함된다.

(Creating your project from a template includes an asset catalog containing empty entries for an icon, including an App Store icon which is required to submit your app to the App Store.)

 

https://help.apple.com/xcode/mac/current/#/dev10510b1f7

 

https://help.apple.com/xcode/mac/current/#/dev10510b1f7

To see this page, you must enable JavaScript. Pour afficher cette page, vous devez activer JavaScript. Zur Anzeige dieser Seite müssen Sie JavaScript aktivieren. このページを表示するには、JavaScript を有効にする必要があります。

help.apple.com

 

iOS 앱 프로그래밍 강의에서의 설명

에셋 카탈로그란?

Xcode 에서 프로젝트를 처음 생성하면 Asstes.xcassets 이라는 폴더가 자동으로 생성되는데, 이 폴더에서 애플리케이션에 사용될 다양한 에셋을 관리하며, 이를 에셋 카탈로그라고 합니다.

 

에셋 카탈로그는 에셋과 다양한 디바이스의 속성에 대한 파일의 연결을(mapping)통해서 애플리케이션 리소스에 쉽게 접근할 수 있도록 도와줍니다.(리소스틑 애플리케이션이 실행 중일 때 사용하는 이미지와 음악 파일 등을 말합니다.) 여지서 말하는 속성은 디바이스의 특징, 사이즈 클래스, 주문형 리소스, 특정 타입의 정보를 포함하고 있습니다.

728x90

댓글

IT_learning's Commit