KMTTextTemplate Class Reference

Inherits from KMTTemplate : KMTParamObject : NSObject
Declared in KMTTextTemplate.h
KMTTextTemplate.m

Overview

Copyright 2017 Kakao Corp.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

  text

메시지에 들어갈 텍스트. 최대 200자.

@property (copy, nonatomic) NSString *text

Discussion

@property text

Declared In

KMTTextTemplate.h

  link

컨텐츠 클릭 시 이동할 링크 정보.

@property (copy, nonatomic) KMTLinkObject *link

Discussion

@property link

Declared In

KMTTextTemplate.h

  buttonTitle

기본 버튼 타이틀(“자세히 보기”)을 변경하고 싶을 때 설정.

@property (copy, nonatomic, nullable) NSString *buttonTitle

Discussion

@property buttonTitle

Declared In

KMTTextTemplate.h

  buttons

버튼 목록. 버튼 타이틀과 링크를 변경하고 싶을때, 버튼 두개를 사용하고 싶을때 사용. (최대 2개)

@property (copy, nonatomic, nullable) NSArray<KMTButtonObject*> *buttons

Discussion

@property buttons

Declared In

KMTTextTemplate.h