Foxit PDF SDK  9.1
FSMenuItemGroup Class Reference

The custom item group. More...

Inheritance diagram for FSMenuItemGroup:

Instance Methods

(instancetype) - initWithTitle:items:
 Intialize custom group. More...
 

Properties

NSUInteger index
 Get index of the custom group in the view. It will be NSNotFound if it is not added. More...
 
NSMutableArray< FSMenuItem * > * items
 Set/Get the custom items. More...
 
NSString * title
 The title for custom group. More...
 

Detailed Description

The custom item group.

Method Documentation

◆ initWithTitle:items:

- (instancetype) initWithTitle: (nullable NSString *)  title
items: (NSArray< FSMenuItem * > *)  items 

Intialize custom group.

Parameters
[in]titleThe group title.
[in]itemsThe custom group items
Returns
The custom group instance.

Property Documentation

◆ index

- (NSUInteger) index
readnonatomicassign

Get index of the custom group in the view. It will be NSNotFound if it is not added.

◆ items

- (NSMutableArray<FSMenuItem *>*) items
readwritenonatomicstrong

Set/Get the custom items.

◆ title

- (NSString*) title
readwritenonatomiccopy

The title for custom group.