Inherits from NSObject
Declared in QBPrivacyList.h

Overview

QBPrivacyList class interface. This class structure represents collection for storing objects of QBPrivacyItem type.

Tasks

Properties

name

@property (nonatomic, copy) NSString *name
Discussion

Name of privacy list.

Declared In

QBPrivacyList.h

privacyItems

@property (nonatomic, copy) NSArray<QBPrivacyItem*> *privacyItems
Discussion

Privacy items array.

Declared In

QBPrivacyList.h

Class Methods

new

+ (instancetype)new

Instance Methods

addObject:

- (void)addObject:(QBPrivacyItem *)privacyItem
Discussion

Add privacy item object.

Parameters

privacyItem

QBPrivacyItem privacy item instance

Declared In

QBPrivacyList.h

init

- (instancetype)init

initWithName:

- (instancetype)initWithName:(NSString *)name
Discussion

Init with name.

Note: Name must contain at least one character.

Parameters

name

name of privacy list

Return Value

QBPrivacyList instance

Declared In

QBPrivacyList.h

initWithName:items:

- (instancetype)initWithName:(NSString *)name items:(nullable NSArray<QBPrivacyItem*> *)items
Discussion

Init with name and items.

Note: This is designated initializer. Name must contain at least one character.

Parameters

name

name of privacy list

items

array of privacy items

Return Value

QBPrivacyList instance

Declared In

QBPrivacyList.h