foundation_fluttify/ios/Classes/platform_view/UIViewFactory.h

30 lines
688 B
C
Raw Normal View History

2024-11-17 16:01:34 +08:00
//
// UIViewFactory.h
// foundation_fluttify
//
// Created by Yohom Bao on 2020/4/17.
//
#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIViewFactory : NSObject <FlutterPlatformViewFactory>
- (instancetype)initWithRegistrar:(NSObject <FlutterPluginRegistrar> *)registrar;
@property(nonatomic) NSObject<FlutterPluginRegistrar>* registrar;
@end
@interface UIViewPlatformView : NSObject <FlutterPlatformView>
- (instancetype)initWithViewId:(int64_t)viewId frame:(CGRect)frame registrar:(NSObject <FlutterPluginRegistrar> *)registrar;
@property(nonatomic) NSObject<FlutterPluginRegistrar>* registrar;
@end
NS_ASSUME_NONNULL_END