RCPublicServiceMenuItem Class Reference

Inherits from NSObject
Declared in RCPublicServiceMenuItem.h

Overview

公众服务的菜单项

  id

菜单的 ID

@property (nonatomic, copy) NSString *id

Discussion

菜单的 ID

Declared In

RCPublicServiceMenuItem.h

  name

菜单的标题

@property (nonatomic, copy) NSString *name

Discussion

菜单的标题

Declared In

RCPublicServiceMenuItem.h

  url

菜单的 URL 链接

@property (nonatomic, copy) NSString *url

Discussion

菜单的 URL 链接

Declared In

RCPublicServiceMenuItem.h

  type

菜单的类型

@property (nonatomic) RCPublicServiceMenuItemType type

Discussion

菜单的类型

Declared In

RCPublicServiceMenuItem.h

  subMenuItems

菜单中的子菜单

@property (nonatomic, strong) NSArray<RCPublicServiceMenuItem*> *subMenuItems

Discussion

菜单中的子菜单

子菜单为RCPublicServiceMenuItem的数组

Declared In

RCPublicServiceMenuItem.h

+ menuItemsFromJsonArray:

将菜单项的json数组解码(已废弃,请勿使用)

+ (NSArray *)menuItemsFromJsonArray:(NSArray *)jsonArray

Parameters

jsonArray

由菜单项原始Json数据组成的数组

Return Value

公众服务菜单项RCPublicServiceMenuItem的数组

Discussion

将菜单项的json数组解码(已废弃,请勿使用)

Warning: 已废弃,请勿使用。

Declared In

RCPublicServiceMenuItem.h