KMTListTemplate Class Reference
Inherits from | KMTTemplate : KMTParamObject : NSObject |
---|---|
Declared in | KMTListTemplate.h KMTListTemplate.m |
Overview
@class KMTListTemplate
리스트 템플릿은 메시지 상단에 노출되는 헤더 타이틀과, 컨텐츠 목록, 버튼 등으로 구성됩니다. 헤더와 컨텐츠 각각의 링크를 가질 수 있습니다. 피드 템플릿과 마찬가지로 하나의 기본 버튼을 가지며 임의의 버튼을 설정할 수 있습니다.
headerTitle
리스트 상단에 노출되는 헤더 타이틀. (최대 200자)
@property (copy, nonatomic) NSString *headerTitle
Discussion
@property headerTitle
Declared In
KMTListTemplate.h
headerLink
헤더 타이틀 내용에 해당하는 링크 정보.
@property (copy, nonatomic) KMTLinkObject *headerLink
Discussion
@property headerLink
Declared In
KMTListTemplate.h
headerImageURL
리스트 템플릿의 상단에 보이는 이미지 URL
@property (copy, nonatomic, nullable) NSURL *headerImageURL
Discussion
@property headerImageURL
Declared In
KMTListTemplate.h
headerImageWidth
리스트 템플릿의 상단에 보이는 이미지 widht, 권장 800 (단위: 픽셀)
@property (copy, nonatomic, nullable) NSNumber *headerImageWidth
Discussion
@property headerImageWidth
Declared In
KMTListTemplate.h
headerImageHeight
리스트 템플릿의 상단에 보이는 이미지 height, 권장 190 (단위: 픽셀)
@property (copy, nonatomic, nullable) NSNumber *headerImageHeight
Discussion
@property headerImageHeight
Declared In
KMTListTemplate.h
contents
리스트에 노출되는 컨텐츠 목록. (최소 2개, 최대 3개)
@property (copy, nonatomic) NSArray<KMTContentObject*> *contents
Discussion
@property contents
Declared In
KMTListTemplate.h
buttonTitle
기본 버튼 타이틀(“자세히 보기”)을 변경하고 싶을 때 설정.
@property (copy, nonatomic, nullable) NSString *buttonTitle
Discussion
@property buttonTitle
Declared In
KMTListTemplate.h
buttons
버튼 목록. 버튼 타이틀과 링크를 변경하고 싶을때, 버튼 두개를 사용하고 싶을때 사용. (최대 2개)
@property (copy, nonatomic, nullable) NSArray<KMTButtonObject*> *buttons
Discussion
@property buttons
Declared In
KMTListTemplate.h