PDMenuItem
Inherits from: NSObject
Conforms to: NSCoding
Overview
菜单子项类,用于描述菜档中一个选项的数据
Propertys
- 菜单项目ID
@property (strong, nonatomic) NSString* itemId;
- 菜单项目内容
@property (strong, nonatomic) NSString* content;
- 菜单内容类别
@property (assign, nonatomic) PDMessageContentType type;
Methods
- 初始化方法
- (id)initWithId:(NSString*)itemId andContent:(NSString*)content andType:(PDMessageContentType)type;
参数 类型 说明 itemId NSString* 菜单项目ID content NSString* 菜单项目内容 type PDMessageContentType 菜单内容类别 返回值 id 初始化后的对象指针