TencentNavKit

TNKCustomAreaView.h
Go to the documentation of this file.
1//
2// TNKCustomAreaView.h
3// TencentNavKit
4//
5// Created by xzg on 2025/7/25.
6// Copyright © 2025 Tencent. All rights reserved.
7//
8
9
10#import <UIKit/UIKit.h>
11
12@class TNKCustomAreaView;
13
17@protocol TNKCustomAreaViewDelegate <NSObject>
18@optional
22- (void)customAreaView:(TNKCustomAreaView *)customAreaView didChangeHeight:(CGFloat)height;
23@end
24
25@interface TNKCustomAreaView : UIView
26
30@property (nonatomic, weak) id<TNKCustomAreaViewDelegate> delegate;
31
35@property (nonatomic, strong, readonly) UIView *contentView;
36
40@property (nonatomic, assign, readonly) CGFloat currentHeight;
41
46- (void)setHeight:(CGFloat)height;
47
48@end
TNKCustomAreaView
Definition: TNKCustomAreaView.h:26
TNKCustomAreaView::currentHeight
CGFloat currentHeight
Definition: TNKCustomAreaView.h:40
TNKCustomAreaView::contentView
UIView * contentView
Definition: TNKCustomAreaView.h:35
TNKCustomAreaView::delegate
id< TNKCustomAreaViewDelegate > delegate
Definition: TNKCustomAreaView.h:30
TNKCustomAreaViewDelegate-p
Definition: TNKCustomAreaView.h:17