From 2e82c7f03b0833e3a149d02453d66d8db133b2ce Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期一, 29 十一月 2021 13:36:20 +0800 Subject: [PATCH] 2021-11-29 1.实现ON+设计的UI --- HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.h | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.h b/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.h index 7bd9ecc..23936c8 100644 --- a/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.h +++ b/HDLSceneSiriDemo/HDLSceneSiriDemo/HDLSceneSiri/HDLSiriSceneListCell.h @@ -8,8 +8,8 @@ #import <UIKit/UIKit.h> #import <Intents/Intents.h> #import <IntentsUI/IntentsUI.h> +#import "HDLSiriShortcutModel.h" #import "HDLRunSceneIntent.h" -#import "HDLSiriSceneModel.h" //#import <HDLSmartKit/HDLSceneModel.h> @@ -18,13 +18,15 @@ @interface HDLSiriSceneListCell : UITableViewCell -@property (nonatomic, strong) UIView *bgView;//鑳屾櫙View +//@property (nonatomic, strong) UIView *bgView;//鑳屾櫙View @property (nonatomic, strong) UILabel *titleLabel;//鍦烘櫙鏍囬 +@property (nonatomic, strong) UIView *lineView;//鍒嗗壊绾縑iew @property (nonatomic, strong) INUIAddVoiceShortcutButton API_AVAILABLE(ios(12.0)) *shortcutButton;//蹇嵎鎸囦护鎸夐挳 -@property (nonatomic, strong) HDLSiriSceneModel *model;//鍦烘櫙model +@property (nonatomic, strong) HDLSiriControlModel *model;//鍦烘櫙model +@property (nonatomic, strong) NSString *homeId; --(void)initModel:(HDLSiriSceneModel *)model intent:(HDLRunSceneIntent*)intent API_AVAILABLE(ios(12.0)); +-(void)initModel:(HDLSiriControlModel *)model intent:(HDLRunSceneIntent*)intent API_AVAILABLE(ios(12.0)); @end -- Gitblit v1.8.0