Tuya iOS Smart Life App SDK 5.15.0
<ThingTabBarCustomBadgeProtocol> Protocol Reference

#import <ThingTabBarCustomBadgeProtocol.h>

Inheritance diagram for <ThingTabBarCustomBadgeProtocol>:

Instance Methods

(void) - thing_setBadgeValue:withItemAttribute:
 
(void) - thing_setBadgeValue:withItemAttribute:
 

Properties

CGPoint originLocation
 
CGSize offset
 

Detailed Description

Definition at line 12 of file ThingTabBarCustomBadgeProtocol.h.

Method Documentation

◆ thing_setBadgeValue:withItemAttribute: [1/2]

- (void) thing_setBadgeValue: (NSString *)  value
withItemAttribute: (ThingTabItemAttribute *)  attr 
required

◆ thing_setBadgeValue:withItemAttribute: [2/2]

- (void) thing_setBadgeValue: (NSString *)  value
withItemAttribute: (ThingTabItemAttribute *)  attr 
required

Property Documentation

◆ offset

- (CGSize) offset
readwritenonatomicassign

在originLocation基础上偏移

Definition at line 19 of file ThingTabBarCustomBadgeProtocol.h.

◆ originLocation

- (CGPoint) originLocation
readwriteoptionalnonatomicassign

badge左上在barButton上的 比例位置

Definition at line 18 of file ThingTabBarCustomBadgeProtocol.h.


The documentation for this protocol was generated from the following files: