Commit b594cef1399357ccc1858fe97f8eb122031438ea
0 parents
0.0.4
Showing
100 changed files
with
3352 additions
and
0 deletions
Too many changes to show.
To preserve performance only 100 of 266 files are displayed.
DSHappinessModuleF.podspec
0 → 100644
| 1 | +++ a/DSHappinessModuleF.podspec | |
| 1 | +Pod::Spec.new do |s| | |
| 2 | + | |
| 3 | + s.name = "DSHappinessModuleF" | |
| 4 | + s.version = "0.0.4" | |
| 5 | + s.summary = "DSHappinessModuleF" | |
| 6 | + s.homepage = "http://bj.gitlab.cnlive.com/DSIOSTeam" | |
| 7 | + s.authors = { "DSIOSTeam" => "694092596@qq.com" } | |
| 8 | + s.license = "MIT" | |
| 9 | + s.source = { :git => 'http://bj.gitlab.cnlive.com/DSIOSTeam/DSHappinessModuleF.git', :tag => s.version.to_s } | |
| 10 | + s.ios.deployment_target = '9.0' | |
| 11 | + s.vendored_frameworks = "DSHappinessModuleF/Frameworks/DSHappinessModule.framework" | |
| 12 | + s.frameworks = 'Foundation', 'UIKit' | |
| 13 | + s.xcconfig = { | |
| 14 | + 'ENABLE_BITCODE' => 'NO' | |
| 15 | + } | |
| 16 | + s.pod_target_xcconfig = { | |
| 17 | + 'VALID_ARCHS' => 'arm64' | |
| 18 | + } | |
| 19 | + | |
| 20 | + s.dependency 'SDAutoLayout', '2.2.1' | |
| 21 | + s.dependency 'MGJRouter', '~> 0.10.0' | |
| 22 | + | |
| 23 | + s.dependency 'DSBaseModuleF', '>=0.0.0', '<1.0.0' | |
| 24 | + s.dependency 'DSToolsModuleF', '>=0.0.0', '<1.0.0' | |
| 25 | + s.dependency 'DSCommonModuleF', '>=0.0.0', '<1.0.0' | |
| 26 | + s.dependency 'DSWebViewModuleF', '>=0.0.0', '<1.0.0' | |
| 27 | + s.dependency 'DSARModuleF', '>=0.0.0', '<1.0.0' | |
| 28 | + s.dependency 'DSMapModuleF', '>=0.0.0', '<1.0.0' | |
| 29 | + | |
| 30 | +end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/DSHappinessModule
0 → 100755
No preview for this file type
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/DSHappinessModule.bundle/Assets.car
0 → 100644
No preview for this file type
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/DSHappinessModule.bundle/Info.plist
0 → 100644
No preview for this file type
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryFloatLayoutView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryFloatLayoutView.h | |
| 1 | +// | |
| 2 | +// CNCategoryFloatLayoutView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/3/17. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSLiveFloatLayoutView.h" | |
| 10 | + | |
| 11 | +@interface CNDSCategoryFloatLayoutView : CNDSLiveFloatLayoutView | |
| 12 | + | |
| 13 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHomeBaseCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHomeBaseCell.h | |
| 1 | +// | |
| 2 | +// CNCategoryHomeBaseCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/5/24. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +@interface CNDSCategoryHomeBaseCell : UITableViewCell | |
| 12 | + | |
| 13 | +@property (nonatomic, strong) UILabel *titleLab; | |
| 14 | +@property (nonatomic, strong) UIImageView *iconV; | |
| 15 | +@property (nonatomic, strong) UIButton *moreBtn; | |
| 16 | +@property (nonatomic, strong) UIView *lineV; | |
| 17 | + | |
| 18 | +- (void)setupUI; | |
| 19 | + | |
| 20 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHotContentImages.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHotContentImages.h | |
| 1 | +// | |
| 2 | +// CNCategoryHotContentImages.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/19. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSCategoryHotContentImages : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic, assign) float width; | |
| 14 | +@property (nonatomic, assign) float height; | |
| 15 | +//@property (nonatomic ,copy) NSString *imageUrl;//图片地址 | |
| 16 | +@property (nonatomic ,copy) NSString *imagePath;//原图地址 | |
| 17 | +@property (nonatomic ,copy) NSString *thumbnailPath;//缩略图地址 | |
| 18 | +@property (nonatomic, copy) NSString *thumbnailsFirstPic;//缩略图原图地址 | |
| 19 | + | |
| 20 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHotItem.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHotItem.h | |
| 1 | +// | |
| 2 | +// CNCategoryHotItem.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/15. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCategoryHotVideo.h" | |
| 10 | +#import "CNDSCategoryHotContentImages.h" | |
| 11 | +#import <UIKit/UIKit.h> | |
| 12 | + | |
| 13 | +@interface CNDSCategoryHotItemAssociatedGoods : NSObject | |
| 14 | + | |
| 15 | +/** | |
| 16 | + 关联动态id | |
| 17 | + */ | |
| 18 | +@property (nonatomic,copy) NSString * content_id; | |
| 19 | +/** | |
| 20 | + 关联商品id | |
| 21 | + */ | |
| 22 | +@property (nonatomic,copy) NSString * goods_id; | |
| 23 | +/** | |
| 24 | + 关联商品价格 | |
| 25 | + */ | |
| 26 | +@property (nonatomic,copy) NSString * price; | |
| 27 | +/** | |
| 28 | + 关联商品图片 | |
| 29 | + */ | |
| 30 | +@property (nonatomic,copy) NSString * simg; | |
| 31 | +/** | |
| 32 | + 关联商品标题 | |
| 33 | + */ | |
| 34 | +@property (nonatomic,copy) NSString * title; | |
| 35 | +/** | |
| 36 | + 1跳转普通商品 2跳转文创商品 | |
| 37 | + */ | |
| 38 | +@property (nonatomic,copy) NSString * shop_type; | |
| 39 | + | |
| 40 | +@end | |
| 41 | + | |
| 42 | + | |
| 43 | +@interface CNDSCategoryHotItem : NSObject | |
| 44 | + | |
| 45 | +@property (nonatomic ,copy) NSString *category; | |
| 46 | +@property (nonatomic ,copy) NSString *address; | |
| 47 | +@property (nonatomic ,copy) NSString *status; | |
| 48 | +@property (nonatomic ,copy) NSString *optionId; | |
| 49 | +@property (nonatomic ,copy) NSString *optionDesc; //配送 | |
| 50 | + | |
| 51 | +//@property (nonatomic ,strong) NSMutableArray *images; | |
| 52 | +//@property (nonatomic ,strong) RLMArray <CNCategoryHotContentImages *><CNCategoryHotContentImages> *realmImages;//图片URL数组 | |
| 53 | +@property (nonatomic ,strong) NSArray * images;//图片URL数组 | |
| 54 | + | |
| 55 | +@property (nonatomic ,copy) NSString *itemId; | |
| 56 | +@property (nonatomic ,copy) NSString *text; | |
| 57 | +@property (nonatomic ,copy) NSString *darenId; | |
| 58 | +@property (nonatomic ,strong) CNDSCategoryHotVideo *video; // | |
| 59 | +@property (nonatomic ,copy) NSString *categoryName; | |
| 60 | +@property (nonatomic ,assign) long ts; | |
| 61 | +@property (nonatomic ,assign) NSInteger type; | |
| 62 | + | |
| 63 | +/** | |
| 64 | + 关联商品 | |
| 65 | + */ | |
| 66 | +@property (nonatomic,strong) CNDSCategoryHotItemAssociatedGoods * associatedGoods; | |
| 67 | + | |
| 68 | +/** cell高度 */ | |
| 69 | +@property (nonatomic ,assign) CGFloat cellHeight; | |
| 70 | + | |
| 71 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHotList.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHotList.h | |
| 1 | +// | |
| 2 | +// CNCategoryHotList.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/15. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSCategoryUnfollowInfo.h" | |
| 11 | +#import "CNDSCategoryHotItem.h" | |
| 12 | + | |
| 13 | +@interface CNDSCategoryHotList : NSObject | |
| 14 | + | |
| 15 | +@property (nonatomic ,assign) BOOL fan; | |
| 16 | +@property (nonatomic ,strong) CNDSCategoryUnfollowInfo *icon; | |
| 17 | +@property (nonatomic ,strong) CNDSCategoryHotItem *item; | |
| 18 | + | |
| 19 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHotVideo.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryHotVideo.h | |
| 1 | +// | |
| 2 | +// CNDarenCategoryHotVideo.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/15. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSCategoryHotVideo : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic, assign) float width; | |
| 14 | +@property (nonatomic, assign) float height; | |
| 15 | +@property (nonatomic ,copy) NSString *imageUrl;//封面图url | |
| 16 | +@property (nonatomic, copy) NSString *thumbnailPath;//缩略图 | |
| 17 | +@property (nonatomic, copy) NSString *thumbnailsFirstPic;//缩略原图 | |
| 18 | +@property (nonatomic ,copy) NSString *videoId;//视频id | |
| 19 | +//@property (nonatomic ,copy) NSString *videoUrl;//视频url | |
| 20 | +/** 视频裸地址url */ | |
| 21 | +@property (nonatomic ,copy) NSString *videoPlayUrl; | |
| 22 | +@property (nonatomic ,assign) long time;//时长 | |
| 23 | +@property (nonatomic, copy) NSString *strageType; | |
| 24 | + | |
| 25 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySearchController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySearchController.h | |
| 1 | +// | |
| 2 | +// CNCategorySearchController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/6/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCommonViewController.h" | |
| 10 | + | |
| 11 | +typedef enum : NSUInteger { | |
| 12 | + CNSearchDarenAll, | |
| 13 | + CNSearchDarenFollow, | |
| 14 | + CNSearchDarenUnFollow, | |
| 15 | +} CNSearchDarenType; | |
| 16 | + | |
| 17 | +@protocol CategorySearchRefreshDelegate <NSObject> | |
| 18 | + | |
| 19 | +- (void)categorySearchRefreshVC; | |
| 20 | + | |
| 21 | +@end | |
| 22 | + | |
| 23 | +@interface CNDSCategorySearchController : CNDSCommonViewController | |
| 24 | + | |
| 25 | +- (instancetype)initWithType:(CNSearchDarenType)type; | |
| 26 | + | |
| 27 | +@property (nonatomic, weak) id <CategorySearchRefreshDelegate> categorySearchRefreshDelegate; | |
| 28 | + | |
| 29 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySearchDarenResultCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySearchDarenResultCell.h | |
| 1 | +// | |
| 2 | +// CNCategorySearchDarenResultCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/6/13. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSSearchDarenModel.h" | |
| 11 | + | |
| 12 | +@interface CNDSCategorySearchDarenResultCell : UITableViewCell | |
| 13 | + | |
| 14 | +@property (nonatomic, strong) CNDSSearchDarenModel *model; | |
| 15 | + | |
| 16 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySearchView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySearchView.h | |
| 1 | +// | |
| 2 | +// CNCategorySearchView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/6/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +typedef void(^CNSearchClickBlock)(void); | |
| 12 | + | |
| 13 | +@interface CNDSCategorySearchView : UIView | |
| 14 | + | |
| 15 | +@property (nonatomic, copy) CNSearchClickBlock searchClickBlock; | |
| 16 | + | |
| 17 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySquareCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySquareCell.h | |
| 1 | +// | |
| 2 | +// CNCategorySquareCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/5/24. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCategoryHomeBaseCell.h" | |
| 10 | +#import "CNDSDarenCategoryModel.h" | |
| 11 | + | |
| 12 | +/** | |
| 13 | + cell 点击回调Block | |
| 14 | + | |
| 15 | + @param darenId 1:categoryId 2:darenId | |
| 16 | + @param tag 1:跳转广场 2:跳转达人首页 | |
| 17 | + */ | |
| 18 | +typedef void(^ClickSquareCellBlock)(NSString *darenId,NSInteger tag); | |
| 19 | + | |
| 20 | +@interface CNDSCategorySquareCell : CNDSCategoryHomeBaseCell | |
| 21 | + | |
| 22 | +@property (nonatomic, copy) ClickSquareCellBlock clickSquareCellBlock; | |
| 23 | +@property (nonatomic, strong) CNDSDarenCategoryModel *squareModel; | |
| 24 | + | |
| 25 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySquareCollectionCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySquareCollectionCell.h | |
| 1 | +// | |
| 2 | +// CNCategorySquareCollectionCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/5/25. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCategorySquareModel.h" | |
| 11 | + | |
| 12 | +/** | |
| 13 | + cell 点击回调Block | |
| 14 | + | |
| 15 | + @param darenId 1:categoryId 2:darenId | |
| 16 | + @param tag 1:跳转广场 2:跳转达人首页 | |
| 17 | + */ | |
| 18 | +typedef void(^ClickSquareCellBlock)(NSString *darenId,NSInteger tag); | |
| 19 | + | |
| 20 | +@interface CNDSCategorySquareCollectionCell : UICollectionViewCell | |
| 21 | + | |
| 22 | +@property (nonatomic, copy) ClickSquareCellBlock clickSquareCellBlock; | |
| 23 | +@property (nonatomic, strong) CNDSCategorySquareModel *squareModel; | |
| 24 | + | |
| 25 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySquareModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategorySquareModel.h | |
| 1 | +// | |
| 2 | +// CNCategorySquareModel.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/5/28. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSCategoryUnfollowInfo.h" | |
| 11 | +#import "CNDSCategoryUnfollowCategories.h" | |
| 12 | + | |
| 13 | + | |
| 14 | +@interface CNDSCategorySquareModel : NSObject | |
| 15 | + | |
| 16 | +@property (nonatomic ,strong) CNDSCategoryUnfollowCategories *categoryIconBean; | |
| 17 | + | |
| 18 | +@property (nonatomic, strong) NSArray *list; | |
| 19 | + | |
| 20 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryUnfollowCategories.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryUnfollowCategories.h | |
| 1 | +// | |
| 2 | +// CNCategoryUnfollowCategories.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/15. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSCategoryUnfollowCategories : NSObject | |
| 12 | +// 一级标签 | |
| 13 | +@property (nonatomic ,copy) NSString *categoryId; | |
| 14 | +@property (nonatomic ,copy) NSString *categoryImage; | |
| 15 | +@property (nonatomic ,copy) NSString *categoryName; | |
| 16 | +@property (nonatomic, copy,getter = theNewCategoryImage) NSString *newCategoryImage; | |
| 17 | +@property (nonatomic, copy,getter = theNewCategorySmallImage) NSString *newCategorySmallImage; | |
| 18 | + | |
| 19 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryUnfollowInfo.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryUnfollowInfo.h | |
| 1 | +// | |
| 2 | +// CNCategoryUnfollowInfo.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/15. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSCategoryUnfollowInfo : NSObject | |
| 12 | +// 一级的 icon | |
| 13 | +// 二级的 darens 达人信息 | |
| 14 | +@property (nonatomic ,copy) NSString *image; | |
| 15 | +@property (nonatomic ,copy) NSString *nickName; | |
| 16 | +@property (nonatomic ,copy) NSString *userId; | |
| 17 | +@property (nonatomic ,assign) NSInteger fansCount; | |
| 18 | +@property (nonatomic ,assign) NSInteger orderCount; | |
| 19 | +@property (nonatomic ,assign) BOOL state; | |
| 20 | +@property (nonatomic ,copy) NSString *extInfo; | |
| 21 | + | |
| 22 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryUnfollowList.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCategoryUnfollowList.h | |
| 1 | +// | |
| 2 | +// CNCategoryUnfollowTitle.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/15. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSCategoryUnfollowInfo.h" | |
| 11 | +#import "CNDSCategoryUnfollowCategories.h" | |
| 12 | + | |
| 13 | +@interface CNDSCategoryUnfollowList : NSObject | |
| 14 | + | |
| 15 | +@property (nonatomic ,strong) CNDSCategoryUnfollowInfo *icon; | |
| 16 | + | |
| 17 | +@property (nonatomic, strong) NSArray *categories; | |
| 18 | + | |
| 19 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSClassifyViewController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSClassifyViewController.h | |
| 1 | +// | |
| 2 | +// CNClassifyViewController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/12/30. | |
| 6 | +// Copyright © 2017年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCommonViewController.h" | |
| 10 | + | |
| 11 | +@interface CNDSClassifyViewController : CNDSCommonViewController | |
| 12 | + | |
| 13 | +- (void)isNeedTorefresh; | |
| 14 | + | |
| 15 | +-(instancetype)initWithIsDisplayNav:(BOOL)isDisplayNav; | |
| 16 | + | |
| 17 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCommonTableViewController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCommonTableViewController.h | |
| 1 | +// | |
| 2 | +// CNCommonTableViewController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/12/30. | |
| 6 | +// Copyright © 2017年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +//#import "QMUIKit.h" | |
| 10 | +#import <QMUIKit/QMUIKit.h> | |
| 11 | +#import "CNDSThemeProtocol.h" | |
| 12 | +@interface CNDSCommonTableViewController : QMUICommonTableViewController <CNChangingThemeDelegate> | |
| 13 | + | |
| 14 | +- (void)setCNAPIErrorEmptyView;//接口错误 | |
| 15 | +- (void)setCNNoNetworkingEmptyView;//无网络连接 | |
| 16 | +- (void)setCNNoDataEmptyView;//没有相关内容 | |
| 17 | +////子类重写 没网络时调用 | |
| 18 | +- (void)cn_noNetworking; | |
| 19 | +////子类重写 有网络时调用 | |
| 20 | +- (void)cn_wifiOrWWANNetworking; | |
| 21 | +@end | |
| 22 | + | |
| 23 | + | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCommonViewController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSCommonViewController.h | |
| 1 | +// | |
| 2 | +// CNCommonViewController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/12/30. | |
| 6 | +// Copyright © 2017年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSThemeProtocol.h" | |
| 10 | +#import <QMUIKit/QMUIKit.h> | |
| 11 | + | |
| 12 | +@interface CNDSCommonViewController : QMUICommonViewController <CNChangingThemeDelegate> | |
| 13 | + | |
| 14 | +@property (nonatomic, assign) NSInteger netStatus;//当前网络状态 | |
| 15 | + | |
| 16 | +- (void)setCNAPIErrorEmptyView;//接口错误 | |
| 17 | +- (void)setCNNoNetworkingEmptyView;//无网络连接 | |
| 18 | +- (void)setCNNoDataEmptyView;//没有相关内容 | |
| 19 | +////子类重写 没网络时调用 | |
| 20 | +- (void)cn_noNetworking; | |
| 21 | +////子类重写 有网络时调用 | |
| 22 | +- (void)cn_wifiOrWWANNetworking; | |
| 23 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSConfiguration.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSConfiguration.h | |
| 1 | +// | |
| 2 | +// CNConfiguration.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/1/2. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSThemeProtocol.h" | |
| 11 | + | |
| 12 | +@interface CNDSConfiguration : NSObject <CNDSThemeProtocol> | |
| 13 | + | |
| 14 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryController.h | |
| 1 | +// | |
| 2 | +// CNDarenCategoryController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCommonViewController.h" | |
| 10 | +#import "CNDSDarenCategoryModel.h" | |
| 11 | + | |
| 12 | +@protocol DarenSquareFocusOrUnFocusDelegate <NSObject> | |
| 13 | + | |
| 14 | +- (void)darenSquareFocusOrUnFocusRefreshVC; | |
| 15 | + | |
| 16 | +@end | |
| 17 | + | |
| 18 | +@interface CNDSDarenCategoryController : CNDSCommonViewController | |
| 19 | + | |
| 20 | +@property (nonatomic, copy) NSString *categoryId; | |
| 21 | + | |
| 22 | +@property (nonatomic, strong) NSArray <CNDSDarenCategoryModel *>*categoryList; | |
| 23 | +@property (nonatomic, weak) id <DarenSquareFocusOrUnFocusDelegate> darenSquareDelegate; | |
| 24 | + | |
| 25 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryDetailsHeaderView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryDetailsHeaderView.h | |
| 1 | +// | |
| 2 | +// CNDarenCategoryDetailsTopView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/29. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSDarenCategoryModel.h" | |
| 11 | + | |
| 12 | +@interface CNDSDarenCategoryDetailsHeaderView : UIView | |
| 13 | + | |
| 14 | +@property (nonatomic, strong) CNDSCategoryUnfollowCategories *catelistModel; | |
| 15 | + | |
| 16 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryList.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryList.h | |
| 1 | +// | |
| 2 | +// CNDarenCategoryList.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/16. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSCategoryUnfollowCategories.h" | |
| 11 | +#import "CNDSCategoryUnfollowInfo.h" | |
| 12 | + | |
| 13 | + | |
| 14 | +@interface CNDSDarenCategoryList : NSObject | |
| 15 | + | |
| 16 | +/** | |
| 17 | + 分类二级页面 //list | |
| 18 | + */ | |
| 19 | + | |
| 20 | +/** 分类名称 category */ | |
| 21 | +@property (nonatomic, strong) CNDSCategoryUnfollowCategories *category; | |
| 22 | + | |
| 23 | +/** 达人列表 darens */ | |
| 24 | +@property (nonatomic ,strong) NSArray *darens; | |
| 25 | + | |
| 26 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryListCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryListCell.h | |
| 1 | +// | |
| 2 | +// CNDarenCategoryListCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/13. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCategoryUnfollowCategories.h" | |
| 11 | + | |
| 12 | +@interface CNDSDarenCategoryListCell : UITableViewCell | |
| 13 | + | |
| 14 | +@property (nonatomic, strong) CNDSCategoryUnfollowCategories *model; | |
| 15 | + | |
| 16 | +@property (nonatomic, strong) UILabel *nameLab; | |
| 17 | + | |
| 18 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryModel.h | |
| 1 | +// | |
| 2 | +// CNDarenCategoryModel.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSCategoryUnfollowList.h" | |
| 11 | +#import "CNDSCategorySquareModel.h" | |
| 12 | +#import "CNDSCategoryHotList.h" | |
| 13 | + | |
| 14 | + | |
| 15 | +@interface CNDSDarenCategoryModel : NSObject | |
| 16 | + | |
| 17 | + | |
| 18 | +#pragma mark- | |
| 19 | +#pragma mark- 分类一级 | |
| 20 | +/** | |
| 21 | + bannerList | |
| 22 | + */ | |
| 23 | +@property (nonatomic ,copy) NSString *darenId; | |
| 24 | +@property (nonatomic ,copy) NSString *h5Path; | |
| 25 | +@property (nonatomic ,copy) NSString *image; | |
| 26 | +@property (nonatomic ,copy) NSString *itemId; | |
| 27 | +@property (nonatomic ,copy) NSString *type; | |
| 28 | + | |
| 29 | +/** | |
| 30 | + List | |
| 31 | + */ | |
| 32 | +@property (nonatomic, copy) NSString *openUrl; | |
| 33 | +@property (nonatomic, copy) NSString *icon; | |
| 34 | +@property (nonatomic, copy) NSString *name; | |
| 35 | +@property (nonatomic, assign) long sort; | |
| 36 | +@property (nonatomic, strong) NSArray*darenList; | |
| 37 | + | |
| 38 | +/** | |
| 39 | + Square | |
| 40 | + */ | |
| 41 | +//@property (nonatomic, copy) NSString *openUrl; | |
| 42 | +//@property (nonatomic, copy) NSString *icon; | |
| 43 | +//@property (nonatomic, copy) NSString *name; | |
| 44 | +//@property (nonatomic, assign) NSInteger sort; | |
| 45 | +@property (nonatomic, strong) NSArray*list; | |
| 46 | + | |
| 47 | +/** | |
| 48 | + Hot | |
| 49 | + */ | |
| 50 | +//@property (nonatomic, copy) NSString *openUrl; | |
| 51 | +//@property (nonatomic, copy) NSString *icon; | |
| 52 | +//@property (nonatomic, copy) NSString *name; | |
| 53 | +//@property (nonatomic, assign) NSInteger sort; | |
| 54 | +@property (nonatomic, strong) NSArray*hotList; | |
| 55 | + | |
| 56 | + | |
| 57 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryTopView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenCategoryTopView.h | |
| 1 | +// | |
| 2 | +// CNDarenCategoryTopView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenCategoryTopView : UIView | |
| 12 | + | |
| 13 | +@property (nonatomic, copy) void(^clickBackBtnBlock)(void); | |
| 14 | + | |
| 15 | +- (instancetype)initWithTitle:(NSString *)title; | |
| 16 | + | |
| 17 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenFansCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenFansCell.h | |
| 1 | +// | |
| 2 | +// CNDarenFansCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/6. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "DSUserModel.h" | |
| 11 | +@interface CNDSDarenFansCell : UITableViewCell | |
| 12 | + | |
| 13 | +@property (nonatomic, strong) DSUserModel *user; | |
| 14 | + | |
| 15 | + | |
| 16 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenFansController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenFansController.h | |
| 1 | +// | |
| 2 | +// CNDarenFansController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/6. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCommonTableViewController.h" | |
| 10 | +@interface CNDSDarenFansController : CNDSCommonTableViewController | |
| 11 | + | |
| 12 | +- (instancetype)initWithDarenId:(NSString *)darenId; | |
| 13 | + | |
| 14 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeBottomView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeBottomView.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeBottomView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/1/30. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import <QMUIKit/QMUIKit.h> | |
| 11 | +@class CNDSDarenHomeModel; | |
| 12 | +typedef void (^ClickBottomBlock)(NSInteger index,QMUIButton *btn); | |
| 13 | + | |
| 14 | +@interface CNDSDarenHomeBottomView : UIView | |
| 15 | + | |
| 16 | +/** 背景 */ | |
| 17 | +@property (nonatomic ,strong) UIImageView * bgImageView; | |
| 18 | +@property (nonatomic ,strong) QMUIButton * addFocusBtn; | |
| 19 | +/** 分割线 */ | |
| 20 | +@property (nonatomic ,strong) UIImageView * line; | |
| 21 | +@property (nonatomic ,strong) QMUIButton * sendPriMsgBtn; | |
| 22 | +@property (nonatomic ,copy) ClickBottomBlock clickBottomBlock; | |
| 23 | +@property (nonatomic ,strong) CNDSDarenHomeModel *model; | |
| 24 | +@property (nonatomic, strong) UIActivityIndicatorView *indicator; // 小菊花转圈 | |
| 25 | + | |
| 26 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeCategory.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeCategory.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeCategory.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/2/6. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSDarenHomeCategoryItems.h" | |
| 11 | +#import "CNDSDarenHomeCategoryIcon.h" | |
| 12 | + | |
| 13 | +@interface CNDSDarenHomeCategory : NSObject | |
| 14 | + | |
| 15 | +/** 头像相关 */ | |
| 16 | +@property (nonatomic ,strong) CNDSDarenHomeCategoryIcon *categoryIcon ; | |
| 17 | +@property (nonatomic ,strong) NSArray* categoryItems;//标签数组 | |
| 18 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeCategoryIcon.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeCategoryIcon.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeCategoryIcon.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/3/14. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomeCategoryIcon : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic ,copy) NSString * categoryName;//一级标签名 | |
| 14 | +@property (nonatomic ,copy) NSString * categoryId; //一级标签id | |
| 15 | +@property (nonatomic ,copy) NSString * categoryImage;//一级标签url | |
| 16 | + | |
| 17 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeCategoryItems.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeCategoryItems.h | |
| 1 | +// | |
| 2 | +// CNDSDarenHomeCategoryItems.h | |
| 3 | +// CNLiveHappinessDSDemo | |
| 4 | +// | |
| 5 | +// Created by 殷巧娟 on 2018/11/30. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface CNDSDarenHomeCategoryItems : NSObject | |
| 14 | +@property (nonatomic ,copy) NSString * typeName;//二级标签名 | |
| 15 | +@property (nonatomic ,copy) NSString * color; //二级标签图标色织 | |
| 16 | +@property (nonatomic ,copy) NSString * typeId; //二级标签id | |
| 17 | +@end | |
| 18 | + | |
| 19 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeCell.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/1/29. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "QMUITableViewCell.h" | |
| 10 | + | |
| 11 | +@class CNDSDarenHomeContent; | |
| 12 | +//@class CNDarenHomeModel; | |
| 13 | +@class CNDSDarenHomeCell; | |
| 14 | + | |
| 15 | +typedef NS_ENUM(NSInteger, DarenHomeType) {//达人发文类型 | |
| 16 | + DarenHomeTypeText = 1,//纯文字 | |
| 17 | + DarenHomeTypePicture ,//图片 | |
| 18 | + DarenHomeTypeVideo ,//视频 | |
| 19 | +}; | |
| 20 | + | |
| 21 | + | |
| 22 | +@interface CNDSDarenHomeCell : QMUITableViewCell | |
| 23 | + | |
| 24 | +@property (strong, nonatomic) CNDSDarenHomeContent * contentDarenModel; | |
| 25 | + | |
| 26 | +/** | |
| 27 | + 点击大图 | |
| 28 | + */ | |
| 29 | +@property (nonatomic,copy) void (^tapImageCallBack)(NSArray * imageViews, NSArray * thumbUrlsArray, NSArray * picPathStringsArray, NSInteger index, CNDSDarenHomeContent * contentModel); | |
| 30 | +/** | |
| 31 | + 播放视频 | |
| 32 | + */ | |
| 33 | +@property (nonatomic,copy) void (^tapVideoCallBack)(UIImageView * imageView, NSString * videoUrl, CNDSDarenHomeContent *contentModel); | |
| 34 | +/** | |
| 35 | + 点击关联商品回调 | |
| 36 | + */ | |
| 37 | +@property (nonatomic, copy) void (^tapAssociatedGoodsCallBack)(NSString * goodsId, NSString * shopType); | |
| 38 | + | |
| 39 | + | |
| 40 | +- (void)setIconUrl:(NSString *)iconUrl; | |
| 41 | + | |
| 42 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeContent.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeContent.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeContent.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/1/27. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +//#import "CNDarenHomeContentMsgs.h" | |
| 11 | +#import "CNDSDarenHomeContentImages.h" | |
| 12 | +#import "CNDSDarenHomeCell.h" | |
| 13 | +#import "CNDSDarenHomeContentVideo.h" | |
| 14 | +#import <YYKit/YYKit.h> | |
| 15 | + | |
| 16 | +@interface CNDSDarenHomeContentAssociatedGoods : NSObject | |
| 17 | + | |
| 18 | +/** | |
| 19 | + 关联动态id | |
| 20 | + */ | |
| 21 | +@property (nonatomic,copy) NSString * content_id; | |
| 22 | +/** | |
| 23 | + 关联商品id | |
| 24 | + */ | |
| 25 | +@property (nonatomic,copy) NSString * goods_id; | |
| 26 | +/** | |
| 27 | + 关联商品价格 | |
| 28 | + */ | |
| 29 | +@property (nonatomic,copy) NSString * price; | |
| 30 | +/** | |
| 31 | + 关联商品图片 | |
| 32 | + */ | |
| 33 | +@property (nonatomic,copy) NSString * simg; | |
| 34 | +/** | |
| 35 | + 关联商品标题 | |
| 36 | + */ | |
| 37 | +@property (nonatomic,copy) NSString * title; | |
| 38 | +/** | |
| 39 | + 1跳转普通商品 2跳转文创商品 | |
| 40 | + */ | |
| 41 | +@property (nonatomic,copy) NSString * shop_type; | |
| 42 | + | |
| 43 | +@end | |
| 44 | + | |
| 45 | + | |
| 46 | +@interface CNDSDarenHomeContent : NSObject | |
| 47 | + | |
| 48 | +@property (nonatomic ,assign) long long ts;//动态时间戳 | |
| 49 | +@property (nonatomic ,copy) NSString *itemId;//动态Id | |
| 50 | +@property (nonatomic ,copy) NSString *text;//动态里的文字 | |
| 51 | +@property (nonatomic ,copy) NSString *address;//地址 | |
| 52 | +@property (nonatomic ,copy) NSString *category;//二级标签名 | |
| 53 | +@property (nonatomic ,copy) NSString *optionId;//配送id | |
| 54 | +@property (nonatomic ,copy) NSString *optionDesc;//配送方式 | |
| 55 | +@property (nonatomic ,copy) NSString *categoryName;//二级标签名zi | |
| 56 | + | |
| 57 | +@property (nonatomic ,copy) NSString *status;//stock online offline | |
| 58 | +@property (nonatomic ,copy) NSString *darenId;//达人id | |
| 59 | +@property (nonatomic ,assign) NSInteger type;//0 个人达人 1企业达人 | |
| 60 | + | |
| 61 | +@property (nonatomic ,strong) NSArray * images;//图片URL数组 | |
| 62 | + | |
| 63 | +@property (nonatomic ,strong) CNDSDarenHomeContentVideo *video;//video信息 | |
| 64 | + | |
| 65 | +@property (nonatomic ,copy) NSString *shopName;//店铺名称 | |
| 66 | +@property (nonatomic ,assign) CGFloat attSizeHeight;//文本内容高度 | |
| 67 | +@property (nonatomic, strong) YYTextLayout *textLayout; | |
| 68 | + | |
| 69 | +@property (nonatomic ,assign) CGFloat cellHeight; | |
| 70 | +//赞数量 | |
| 71 | +@property (nonatomic ,assign) NSInteger zan; | |
| 72 | +//转发\分享数量 | |
| 73 | +@property (nonatomic ,assign) NSInteger repost; | |
| 74 | +//评论数量 | |
| 75 | +@property (nonatomic ,assign) NSInteger comment; | |
| 76 | +//视频时长 | |
| 77 | +@property (nonatomic ,assign) NSInteger videotime; | |
| 78 | + | |
| 79 | + | |
| 80 | +/** | |
| 81 | + 关联商品 | |
| 82 | + */ | |
| 83 | +@property (nonatomic,strong) CNDSDarenHomeContentAssociatedGoods * associatedGoods; | |
| 84 | + | |
| 85 | + | |
| 86 | +////图片的真实宽度 | |
| 87 | +//@property (nonatomic ,assign) CGFloat width; | |
| 88 | +////图片的真实高度 | |
| 89 | +//@property (nonatomic ,assign) CGFloat height; | |
| 90 | +//小图 | |
| 91 | +//@property (nonatomic ,copy) NSString *small_image; | |
| 92 | +//大图 | |
| 93 | +//@property (nonatomic ,copy) NSString *large_image; | |
| 94 | +////中等图 | |
| 95 | +//@property (nonatomic ,copy) NSString *middle_image; | |
| 96 | +////播放数量 | |
| 97 | +//@property (nonatomic ,assign) NSInteger playcount; | |
| 98 | +////////// | |
| 99 | +//额外增加的属性 | |
| 100 | +//是否为gif图片 | |
| 101 | +//@property (nonatomic ,assign) BOOL is_gif; | |
| 102 | +//是否为gif图片 | |
| 103 | +//@property (nonatomic ,assign ,getter=isBigPicture) BOOL bigPicture; | |
| 104 | +//中间内容的高度 | |
| 105 | +//@property (nonatomic ,assign) CGRect contentFrame; | |
| 106 | + | |
| 107 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeContentImages.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeContentImages.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeContentImages.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/2/6. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomeContentImages : NSObject | |
| 12 | +//原图地址 | |
| 13 | +@property (nonatomic ,copy) NSString *imagePath; | |
| 14 | +//缩略图地址 | |
| 15 | +@property (nonatomic ,copy) NSString *thumbnailPath; | |
| 16 | +//原比例缩略图地址 | |
| 17 | +@property (nonatomic ,copy) NSString *thumbnailsFirstPic; | |
| 18 | +/** 原图宽 */ | |
| 19 | +@property (nonatomic ,copy) NSString *width; | |
| 20 | +/** 原图高 */ | |
| 21 | +@property (nonatomic ,copy) NSString *height; | |
| 22 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeContentMsgs.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeContentMsgs.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeContentMsgs.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/1/27. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomeContentMsgs : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic ,copy) NSString *videoUrl; | |
| 14 | +@property (nonatomic ,copy) NSString *imageUrl; | |
| 15 | + | |
| 16 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeContentVideo.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeContentVideo.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeContentVideo.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/2/6. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomeContentVideo : NSObject | |
| 12 | +//封面图url | |
| 13 | +@property (nonatomic ,copy) NSString *imageUrl; | |
| 14 | +//视频id | |
| 15 | +@property (nonatomic ,copy) NSString *videoId; | |
| 16 | +/** 视频裸地址url */ | |
| 17 | +@property (nonatomic ,copy) NSString *videoPlayUrl; | |
| 18 | +//时长 | |
| 19 | +@property (nonatomic ,assign) NSInteger time; | |
| 20 | +//原比例缩略图地址 | |
| 21 | +@property (nonatomic ,copy) NSString *thumbnailsFirstPic; | |
| 22 | +/** 原图宽 */ | |
| 23 | +@property (nonatomic ,copy) NSString *width; | |
| 24 | +/** 原图高 */ | |
| 25 | +@property (nonatomic ,copy) NSString *height; | |
| 26 | + | |
| 27 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeEvaluateController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeEvaluateController.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeEvaluateController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/6/13. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCommonTableViewController.h" | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomeEvaluateController : CNDSCommonTableViewController | |
| 12 | +- (instancetype)initWithDarenId:(NSString *)darenId orderDarenId:(NSString *)orderDarenId; | |
| 13 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeModel.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeModel.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/1/27. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSDarenHomeContent.h" | |
| 11 | +#import "CNDSDarenHomeCategory.h" | |
| 12 | +#import "CNDSDarenHomePropaganda.h" | |
| 13 | + | |
| 14 | + | |
| 15 | +@interface CNDSDarenHomeModel : NSObject | |
| 16 | + | |
| 17 | +@property (nonatomic ,assign) BOOL fan;//user与达人是否 已关注 | |
| 18 | +@property (nonatomic ,assign) NSInteger fansNum;//粉丝数量 | |
| 19 | +@property (nonatomic ,copy) NSString *address;//城市名 | |
| 20 | +@property (nonatomic ,copy) NSString *image;//头像地址 | |
| 21 | +@property (nonatomic ,copy) NSString *shopName;//店铺名称 | |
| 22 | +@property (nonatomic ,copy) NSString *darenId;// | |
| 23 | +@property (nonatomic ,copy) NSString *custSign;//个性签名 | |
| 24 | +@property (nonatomic ,copy) NSString *grade;//评分 0.0 | |
| 25 | +@property (nonatomic ,assign) NSInteger pageNo;//当前页码1 | |
| 26 | +@property (nonatomic ,assign) NSInteger pageSize;//每页大小10 | |
| 27 | +@property (nonatomic ,assign) NSInteger nextPage;//下一页页码2 | |
| 28 | +@property (nonatomic ,assign) BOOL online;//达人是否在线 | |
| 29 | + | |
| 30 | +@property (nonatomic ,assign) NSInteger orderCount;//订单数 | |
| 31 | +@property (nonatomic ,assign) NSInteger commentCount;//评论数 | |
| 32 | + | |
| 33 | +@property (nonatomic ,strong) NSArray* propagandas;//宣传片内容 数组 | |
| 34 | +@property (nonatomic ,strong) NSArray * content;//动态内容 数组 | |
| 35 | +@property (nonatomic ,strong) NSArray * category;//标签数组 //达人分类 | |
| 36 | +@end | |
| 37 | + | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeNewController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeNewController.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeNewController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/6/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCommonViewController.h" | |
| 10 | + | |
| 11 | +@protocol DarenHomeRefreshDelegate <NSObject> | |
| 12 | + | |
| 13 | +- (void)darenHomeFocusOrUnFocusRefreshVC; | |
| 14 | + | |
| 15 | +@end | |
| 16 | + | |
| 17 | +@interface CNDSDarenHomeNewController : CNDSCommonViewController | |
| 18 | + | |
| 19 | +@property (nonatomic, copy) NSString *orderDarenID; | |
| 20 | + | |
| 21 | +//达人id为home:daren:daren_10515294的创建方法 | |
| 22 | +- (instancetype)initWithDarenId:(NSString *)darenId; | |
| 23 | +//达人id为daren_10515294的创建方法 | |
| 24 | +- (instancetype)initWithOrderDarenId:(NSString *)darenId; | |
| 25 | + | |
| 26 | +@property (nonatomic, weak) id <DarenHomeRefreshDelegate> darenHomeRefreshDelegate; | |
| 27 | + | |
| 28 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeNewHeaderView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeNewHeaderView.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeNewHeaderView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/6/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCategoryFloatLayoutView.h" | |
| 11 | +#import "CNDSDarenHomeModel.h" | |
| 12 | + | |
| 13 | +@class CNDSDarenHomeModel; | |
| 14 | + | |
| 15 | +#define PropagandaHeight 101 | |
| 16 | +#define headerCateItemViewHeight 40 | |
| 17 | + | |
| 18 | +//#define DarenHomeHeaderVieHeight 480 + kStatusHeight | |
| 19 | +#define DarenHomeHeaderVieHeight 480 | |
| 20 | +#define DarenHomeHeadNoPropaHeight DarenHomeHeaderVieHeight-PropagandaHeight | |
| 21 | + | |
| 22 | + | |
| 23 | +@interface CNDSDarenHomeNewHeaderView : UIView | |
| 24 | + | |
| 25 | +@property (nonatomic ,strong) CNDSDarenHomeModel * model; | |
| 26 | +@property (nonatomic ,strong) CNDSCategoryFloatLayoutView * cateItemView;//二级标签总视图 | |
| 27 | +@property (nonatomic ,strong) UIView * detailLine; | |
| 28 | + | |
| 29 | +typedef void(^MoreClickBlock)(BOOL isShowMore); | |
| 30 | +@property (nonatomic ,copy) MoreClickBlock moreClickBlock; | |
| 31 | + | |
| 32 | +/** | |
| 33 | + 播放宣传片 | |
| 34 | + */ | |
| 35 | +@property (nonatomic,copy) void (^tapADCallBack)(CNDSDarenHomePropaganda * propaganda, UIImageView * currentImageView); | |
| 36 | + | |
| 37 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomePhotoContainerView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomePhotoContainerView.h | |
| 1 | +// | |
| 2 | +// CNDarenHomePhotoContainerView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/6/2. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomePhotoContainerView : UIView | |
| 12 | + | |
| 13 | + | |
| 14 | +- (void)setPicPathStringsArray:(NSArray *)picPathStringsArray thumbUrlsArray:(NSArray *)thumbUrlsArray isVideo:(BOOL)isVideo widthArr:(NSArray *)widthArr heightArr:(NSArray *)heightArr; | |
| 15 | + | |
| 16 | +/** | |
| 17 | + 点击大图 | |
| 18 | + */ | |
| 19 | +@property (nonatomic,copy) void (^tapImageCallBack)(NSArray * imageViews, NSArray * thumbUrlsArray, NSArray * picPathStringsArray, NSInteger index); | |
| 20 | +/** | |
| 21 | + 播放视频 | |
| 22 | + */ | |
| 23 | +@property (nonatomic,copy) void (^tapVideoCallBack)(UIImageView * imageView); | |
| 24 | + | |
| 25 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomePropaganda.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomePropaganda.h | |
| 1 | +// | |
| 2 | +// CNDarenHomePropaganda.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/6/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomePropaganda : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic ,copy) NSString *id; | |
| 14 | +@property (nonatomic ,copy) NSString *img;//图片url | |
| 15 | +@property (nonatomic ,copy) NSString *playUrl;//跳转url | |
| 16 | +@property (nonatomic ,copy) NSString *type;//h5 | |
| 17 | + | |
| 18 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomePropagandaView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomePropagandaView.h | |
| 1 | +// | |
| 2 | +// CNDarenHomePropagandaView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/6/13. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomePropagandaView : UIView | |
| 12 | + | |
| 13 | +@property (nonatomic, copy) NSArray *bannerArray; | |
| 14 | + | |
| 15 | +@property (nonatomic, copy) void(^clickBannerBlock)(NSInteger index); | |
| 16 | + | |
| 17 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeTimeToolsView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenHomeTimeToolsView.h | |
| 1 | +// | |
| 2 | +// CNDarenHomeTimeToolsView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/6/2. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenHomeTimeToolsView : UIView | |
| 12 | + | |
| 13 | +- (void)setTime:(NSString *)time city:(NSString *)city; | |
| 14 | + | |
| 15 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenInfoView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenInfoView.h | |
| 1 | +// | |
| 2 | +// CNDarenInfoView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/5/25. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +@interface CNDSDarenInfoView : UIView | |
| 12 | + | |
| 13 | +@property (nonatomic, strong) UIImageView *iconImgV; | |
| 14 | +@property (nonatomic, strong) UILabel *nickNameLab; | |
| 15 | +@property (nonatomic, strong) UILabel *fansLab; | |
| 16 | + | |
| 17 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicCollectionReusableFooterView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicCollectionReusableFooterView.h | |
| 1 | +// | |
| 2 | +// CNDSDarenReleaseDynamicCollectionReusableFooterView.h | |
| 3 | +// com.cnlive.pro.CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/5. | |
| 6 | +// Copyright © 2019 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface CNDSDarenReleaseDynamicCollectionReusableFooterView : UICollectionReusableView | |
| 14 | + | |
| 15 | +#pragma mark - 回调 | |
| 16 | + | |
| 17 | +@property (nonatomic,copy) void (^clickSelfCallBack)(void); | |
| 18 | + | |
| 19 | +#pragma mark - 赋值 | |
| 20 | + | |
| 21 | +@property (nonatomic,copy) NSString * address; | |
| 22 | + | |
| 23 | +@end | |
| 24 | + | |
| 25 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicCollectionReusableHeaderView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicCollectionReusableHeaderView.h | |
| 1 | +// | |
| 2 | +// CNDSDarenReleaseDynamicCollectionReusableHeaderView.h | |
| 3 | +// com.cnlive.pro.CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/5. | |
| 6 | +// Copyright © 2019 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface CNDSDarenReleaseDynamicCollectionReusableHeaderView : UICollectionReusableView | |
| 14 | + | |
| 15 | +@property (nonatomic,strong) DSTextView * textView; | |
| 16 | + | |
| 17 | +@end | |
| 18 | + | |
| 19 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicCollectionViewCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicCollectionViewCell.h | |
| 1 | +// | |
| 2 | +// CNDSDarenReleaseDynamicCollectionViewCell.h | |
| 3 | +// com.cnlive.pro.CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/5. | |
| 6 | +// Copyright © 2019 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSDarenReleaseDynamicPhotoModel.h" | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface CNDSDarenReleaseDynamicCollectionViewCell : UICollectionViewCell | |
| 15 | + | |
| 16 | +#pragma mark - UI | |
| 17 | + | |
| 18 | +@property (nonatomic,strong) DSImageView * displayImageView; | |
| 19 | + | |
| 20 | +#pragma mark - 赋值 | |
| 21 | + | |
| 22 | +@property (nonatomic,strong) CNDSDarenReleaseDynamicPhotoModel * model; | |
| 23 | + | |
| 24 | +#pragma mark - 回调 | |
| 25 | + | |
| 26 | +/** | |
| 27 | + 点击删除回调 | |
| 28 | + */ | |
| 29 | +@property (nonatomic,copy) void (^clickDeleteCallBack)(CNDSDarenReleaseDynamicPhotoModel * model); | |
| 30 | + | |
| 31 | +@end | |
| 32 | + | |
| 33 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicPhotoModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicPhotoModel.h | |
| 1 | +// | |
| 2 | +// CNDSDarenReleaseDynamicPhotoModel.h | |
| 3 | +// com.cnlive.pro.CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/6. | |
| 6 | +// Copyright © 2019 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import <UIKit/UIKit.h> | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface CNDSDarenReleaseDynamicPhotoModel : NSObject | |
| 15 | + | |
| 16 | +/** | |
| 17 | + 是否是选取图片占位 | |
| 18 | + */ | |
| 19 | +@property (nonatomic,assign) BOOL isSelectPhotoPlaceholder; | |
| 20 | +/** | |
| 21 | + 是否是视频 | |
| 22 | + */ | |
| 23 | +@property (nonatomic,assign) BOOL isVideo; | |
| 24 | +/** | |
| 25 | + 本地视频路径 | |
| 26 | + */ | |
| 27 | +@property (nonatomic,strong,nullable) NSURL * localVideoUrl; | |
| 28 | +/** | |
| 29 | + 视频url | |
| 30 | + */ | |
| 31 | +@property (nonatomic,copy,nullable) NSString * videoUrl; | |
| 32 | +/** | |
| 33 | + 图片url | |
| 34 | + */ | |
| 35 | +@property (nonatomic,copy,nullable) NSString * imageUrl; | |
| 36 | +/** | |
| 37 | + 图片 | |
| 38 | + */ | |
| 39 | +@property (nonatomic,strong,nullable) UIImage * image; | |
| 40 | +/** | |
| 41 | + 是否正在上传中 | |
| 42 | + */ | |
| 43 | +@property (nonatomic,assign) BOOL isUploading; | |
| 44 | +/** | |
| 45 | + 上传的key 用于取消上传 | |
| 46 | + */ | |
| 47 | +@property (nonatomic,copy,nullable) NSString * uploadKey; | |
| 48 | +/** | |
| 49 | + 上传百分比 0~1 | |
| 50 | + */ | |
| 51 | +@property (nonatomic,assign) CGFloat uploadingPercent; | |
| 52 | + | |
| 53 | +@end | |
| 54 | + | |
| 55 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicViewController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSDarenReleaseDynamicViewController.h | |
| 1 | +// | |
| 2 | +// CNDSDarenReleaseDynamicViewController.h | |
| 3 | +// com.cnlive.pro.CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/5. | |
| 6 | +// Copyright © 2019 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <DSBaseModule/DSBaseModule.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface CNDSDarenReleaseDynamicViewController : DSBaseViewController | |
| 14 | + | |
| 15 | +@end | |
| 16 | + | |
| 17 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSEvaluateCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSEvaluateCell.h | |
| 1 | +// | |
| 2 | +// CNEvaluateCell.h | |
| 3 | +// com.cnlive.pro.CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by iOS on 2018/3/14. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSEvaluateModel.h" | |
| 11 | + | |
| 12 | +@interface CNDSEvaluateCell : UITableViewCell | |
| 13 | + | |
| 14 | +@property (nonatomic, strong) CNDSEvaluateModel *model; | |
| 15 | + | |
| 16 | +//点击头像 | |
| 17 | +typedef void(^EvaIconClick)(CNDSEvaluateModel *model,CNDSEvaluateCell *evaCell); | |
| 18 | +@property (nonatomic ,copy) EvaIconClick iconClick; | |
| 19 | + | |
| 20 | +/** | |
| 21 | + 点击图片 | |
| 22 | + */ | |
| 23 | +@property (nonatomic,copy) void (^tapImagesCallBack)(CNDSEvaluateModel *model, NSArray * imageViews, NSArray * imageUrls, NSArray * imageThumbUrls, NSUInteger selectIndex); | |
| 24 | + | |
| 25 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSEvaluateModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSEvaluateModel.h | |
| 1 | +// | |
| 2 | +// CNEvaluateModel.h | |
| 3 | +// com.cnlive.pro.CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by iOS on 2018/3/14. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSRefundImgPathItem.h" | |
| 11 | +#import <UIKit/UIKit.h> | |
| 12 | + | |
| 13 | + | |
| 14 | +@interface CNDSEvaluateModel : NSObject | |
| 15 | + | |
| 16 | +@property (nonatomic, strong) NSString *commentText; //评论内容 | |
| 17 | +@property (nonatomic, strong) NSString *sid; //用户id | |
| 18 | +@property (nonatomic, strong) NSString *plat; //平台 | |
| 19 | +@property (nonatomic, strong) NSString *time; //时间 | |
| 20 | +//@property (nonatomic, strong) NSArray *paths; //图片数组 | |
| 21 | +@property (nonatomic, strong) NSString *nickName; //昵称 | |
| 22 | +@property (nonatomic, strong) NSString *grade; //评分 | |
| 23 | +@property (nonatomic, strong) NSString *commentId; //评论Id | |
| 24 | +@property (nonatomic, strong) NSString *image; //头像 | |
| 25 | + | |
| 26 | +@property (nonatomic ,strong) NSArray * paths;//图片URL数组 | |
| 27 | + | |
| 28 | +- (CGFloat)cellHeight; | |
| 29 | + | |
| 30 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSFocusBannerCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSFocusBannerCell.h | |
| 1 | +// | |
| 2 | +// CNFocusBannerCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +@interface CNDSFocusBannerCell : UITableViewCell | |
| 12 | + | |
| 13 | +@property (nonatomic, copy) NSArray *bannerArray; | |
| 14 | + | |
| 15 | +@property (nonatomic, copy) void(^clickBannerBlock)(NSInteger index); | |
| 16 | + | |
| 17 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSFocusDarenCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSFocusDarenCell.h | |
| 1 | +// | |
| 2 | +// CNFocusDarenCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/9. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSDarenCategoryModel.h" | |
| 11 | +#import "CNDSCategoryHomeBaseCell.h" | |
| 12 | + | |
| 13 | +//typedef enum { | |
| 14 | +// darenInfoType = 0, //跳达人主页 | |
| 15 | +// focusOrUnfocusType, //关注/取消 | |
| 16 | +//} focusOrUnfocusCellClickType; | |
| 17 | + | |
| 18 | +// tag 1:关注 2:跳转 3:更多 | |
| 19 | +typedef void(^ClickFocusCellBlock)(NSString *darenId,NSInteger tag); | |
| 20 | + | |
| 21 | +@interface CNDSFocusDarenCell : CNDSCategoryHomeBaseCell | |
| 22 | + | |
| 23 | +@property (nonatomic, strong) CNDSDarenCategoryModel *listModel; | |
| 24 | + | |
| 25 | +@property (nonatomic, copy) ClickFocusCellBlock clickFocusBtnBlock; | |
| 26 | + | |
| 27 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSFocusOrUnFocusCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSFocusOrUnFocusCell.h | |
| 1 | +// | |
| 2 | +// CNFocusOrUnFocusCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/5/22. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCategoryUnfollowInfo.h" | |
| 11 | + | |
| 12 | +typedef void(^FocusOrUnfocusBlock)(NSString *darenId, BOOL state); | |
| 13 | + | |
| 14 | +@interface CNDSFocusOrUnFocusCell : UITableViewCell | |
| 15 | + | |
| 16 | +@property (nonatomic, strong) CNDSCategoryUnfollowInfo *foucusOrUnfocusModel; | |
| 17 | +@property (nonatomic, copy) FocusOrUnfocusBlock focusOrUnfocusBlock; | |
| 18 | + | |
| 19 | +@end | |
| 20 | + | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSFocusOrUnFocusController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSFocusOrUnFocusController.h | |
| 1 | +// | |
| 2 | +// CNFocusOrUnFocusController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/5/22. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSCommonViewController.h" | |
| 10 | + | |
| 11 | +@protocol FocusOrUnFocusDelegate <NSObject> | |
| 12 | + | |
| 13 | +- (void)focusOrUnFocusRefreshVC; | |
| 14 | + | |
| 15 | +@end | |
| 16 | + | |
| 17 | +@interface CNDSFocusOrUnFocusController : CNDSCommonViewController | |
| 18 | + | |
| 19 | +- (instancetype)initWithState:(BOOL)state; | |
| 20 | +@property (nonatomic, copy) NSString *titleStr; | |
| 21 | +@property (nonatomic, weak) id <FocusOrUnFocusDelegate> focusOrUnFocusDelegate; | |
| 22 | + | |
| 23 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveBaseTools.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveBaseTools.h | |
| 1 | +// | |
| 2 | +// CNLiveBaseTools.h | |
| 3 | +// CNLiveBaseKit | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/11/28. | |
| 6 | +// Copyright © 2018 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface CNDSLiveBaseTools : NSObject | |
| 14 | + | |
| 15 | ++ ( NSDictionary * _Nonnull )getLocalUserInfo; | |
| 16 | + | |
| 17 | +@end | |
| 18 | + | |
| 19 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveDefinesHeader.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveDefinesHeader.h | |
| 1 | +// | |
| 2 | +// CNLiveDefinesHeader.h | |
| 3 | +// CNLiveCommonCategory | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/9/26. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#ifndef CNDSLiveDefinesHeader_h | |
| 10 | +#define CNDSLiveDefinesHeader_h | |
| 11 | + | |
| 12 | +#import <UIKit/UIKit.h> | |
| 13 | +#import <Foundation/Foundation.h> | |
| 14 | +#import "DSColorHeaders.h" | |
| 15 | + | |
| 16 | + | |
| 17 | +//////////////////////////////////////////////////////// | |
| 18 | +//////////// Color | |
| 19 | +//////////////////////////////////////////////////////// | |
| 20 | +// 默认的字体颜色 | |
| 21 | +#define kMainTextColor kBlackColor | |
| 22 | +#define kAppBakgroundColor kWhiteColor | |
| 23 | + | |
| 24 | +// 主色调 | |
| 25 | +// 导航按钮 | |
| 26 | +#define kNavBarThemeColor RGB(128, 64, 122) | |
| 27 | + | |
| 28 | +#define kDetailTextColor RGB(145, 145, 145) | |
| 29 | + | |
| 30 | +// 默认TableViewCell高度 | |
| 31 | +#define kDefaultCellHeight 69 | |
| 32 | +// 默认界面之间的间距 | |
| 33 | +#define kDefaultMargin 5 | |
| 34 | + | |
| 35 | +//////////////////////////////////////////////////////// | |
| 36 | +//////////// Font | |
| 37 | +//////////////////////////////////////////////////////// | |
| 38 | +// CommonLibrary中常用的字体 | |
| 39 | +#define kCommonLargeTextFont [UIFont systemFontOfSize:16] | |
| 40 | +#define kCommonMiddleTextFont [UIFont systemFontOfSize:14] | |
| 41 | +#define kCommonSmallTextFont [UIFont systemFontOfSize:12] | |
| 42 | + | |
| 43 | +//////////////////////////////////////////////////////// | |
| 44 | +//////////// SCreen | |
| 45 | +//////////////////////////////////////////////////////// | |
| 46 | +#define KScreenWidth ([UIScreen mainScreen].bounds.size.width > [UIScreen mainScreen].bounds.size.height ? [UIScreen mainScreen].bounds.size.height : [UIScreen mainScreen].bounds.size.width) | |
| 47 | +#define KScreenHeight ([UIScreen mainScreen].bounds.size.width > [UIScreen mainScreen].bounds.size.height ? [UIScreen mainScreen].bounds.size.width : [UIScreen mainScreen].bounds.size.height) | |
| 48 | + | |
| 49 | +//判断iPHoneXr | |
| 50 | +#define Device_Is_iPhoneXS_XR ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(828, 1792), [[UIScreen mainScreen] currentMode].size) : NO) | |
| 51 | + | |
| 52 | +//判断iPHoneX、iPHoneXs | |
| 53 | +#define Device_Is_iPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO) | |
| 54 | +#define Device_Is_iPhoneXS ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO) | |
| 55 | + | |
| 56 | +//判断iPhoneXs Max | |
| 57 | +#define Device_Is_iPhoneXS_MAX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1242, 2688), [[UIScreen mainScreen] currentMode].size) : NO) | |
| 58 | + | |
| 59 | +#define IS_IPhoneX_All (CGSizeEqualToSize([UIScreen mainScreen].bounds.size, CGSizeMake(375, 812)) ||CGSizeEqualToSize([UIScreen mainScreen].bounds.size, CGSizeMake(812, 375)) ||CGSizeEqualToSize([UIScreen mainScreen].bounds.size, CGSizeMake(414, 896)) ||CGSizeEqualToSize([UIScreen mainScreen].bounds.size, CGSizeMake(896, 414))) | |
| 60 | + | |
| 61 | + | |
| 62 | +#define kStatusHeight (int)[UIApplication sharedApplication].statusBarFrame.size.height //x44 非x20 | |
| 63 | +#define kNavigationBarHeight ((int)[UIApplication sharedApplication].statusBarFrame.size.height+44) //x88 非x64 | |
| 64 | +#define kVerticalNaviBarHeight ((IS_IPhoneX_All > 0) ? 88 : 44) | |
| 65 | +#define kVerticalTabBarTotalHeight ((IS_IPhoneX_All > 0) ? 83 : 49) | |
| 66 | +#define kVerticalBottomSafeHeight ((IS_IPhoneX_All > 0) ? 34 : 0) | |
| 67 | +#define kVerticalStatusHeight ((IS_IPhoneX_All > 0) ? 44 : 20) | |
| 68 | +#define kVerticalTopHeight ((IS_IPhoneX_All > 0) ? 24 : 0) | |
| 69 | +#define kHorizontalTopNaviBarHeight 32 | |
| 70 | +#define kHorizontalBottomHeight ((IS_IPhoneX_All > 0) ? 21 : 0) | |
| 71 | +#define kHorizontalLeftHeight ((IS_IPhoneX_All > 0) ? 44 : 0) | |
| 72 | +#define kHorizontalRightHeight ((IS_IPhoneX_All > 0) ? 44 : 0) | |
| 73 | +#define kHorizontalTopHeight ((IS_IPhoneX_All > 0) ? 24 : 0) | |
| 74 | + | |
| 75 | + | |
| 76 | +//////////////////////////////////////////////////////// | |
| 77 | +//////////// WeakSelf&StrongSelf | |
| 78 | +//////////////////////////////////////////////////////// | |
| 79 | +/** | |
| 80 | + * weakSelf | |
| 81 | + */ | |
| 82 | +#ifndef weakself | |
| 83 | +#define weakself __weak typeof(self)weakSelf = self; | |
| 84 | +#endif | |
| 85 | +/** | |
| 86 | + * strongSelf | |
| 87 | + */ | |
| 88 | +#ifndef strongself | |
| 89 | +#define strongself __strong typeof(weakSelf)self = weakSelf; | |
| 90 | +#endif | |
| 91 | + | |
| 92 | +//////////////////////////////////////////////////////// | |
| 93 | +//////////// 输出测试 | |
| 94 | +//////////////////////////////////////////////////////// | |
| 95 | +//#ifdef DEBUG | |
| 96 | +//#define NSLog(s, ... ) NSLog( @"[%@ in line %d] ===============>%@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__] ) | |
| 97 | +//#else | |
| 98 | +//#define NSLog(s, ... ) | |
| 99 | +//#endif | |
| 100 | + | |
| 101 | +#ifdef DEBUG | |
| 102 | + | |
| 103 | +#ifndef DebugLog | |
| 104 | +#define DebugLog(fmt, ...) NSLog((@"[%s Line %d] \n" fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) | |
| 105 | +#endif | |
| 106 | + | |
| 107 | +#else | |
| 108 | + | |
| 109 | +#ifndef DebugLog | |
| 110 | +#define DebugLog(fmt, ...) // NSLog((@"[%s Line %d] \n" fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) | |
| 111 | +#endif | |
| 112 | + | |
| 113 | +#define NSLog // NSLog | |
| 114 | + | |
| 115 | +#endif | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | +#warning IMKit临时房过来的宏,还需要调整 | |
| 120 | +//////////////////////////////////////////////////////// | |
| 121 | +//////////// 动态跟随系统设置的字体大小改变字体和行高 | |
| 122 | +//////////////////////////////////////////////////////// | |
| 123 | +#define RATIO 1//暂时改成1 [CNSetUserDefaultTool getScaleCoefficient] | |
| 124 | + | |
| 125 | +//这个字体宏可以统一成UIFontMake() | |
| 126 | +//字体大小 | |
| 127 | +#define Text_FONT(F) [UIFont systemFontOfSize:F] | |
| 128 | + | |
| 129 | + | |
| 130 | +#define contentLabelFontSize 16 | |
| 131 | + | |
| 132 | +//////////////////////////////////////////////////////// | |
| 133 | +//////////// AppDelegate | |
| 134 | +//////////////////////////////////////////////////////// | |
| 135 | +#ifndef AppKeyWindow | |
| 136 | +#define AppKeyWindow [IMAAppDelegate sharedAppDelegate].window | |
| 137 | +#endif | |
| 138 | + | |
| 139 | +//////////////////////////////////////////////////////// | |
| 140 | +//////////// NSNotificationCenter | |
| 141 | +//////////////////////////////////////////////////////// | |
| 142 | +#define CNNotificationCenter [NSNotificationCenter defaultCenter] | |
| 143 | + | |
| 144 | + | |
| 145 | +#define SINGLETON_FOR_HEADER(className) \ | |
| 146 | +\ | |
| 147 | ++ (className *)shared##className; | |
| 148 | + | |
| 149 | +#define SINGLETON_FOR_CLASS(className) \ | |
| 150 | +\ | |
| 151 | ++ (className *)shared##className { \ | |
| 152 | +static className *shared##className = nil; \ | |
| 153 | +static dispatch_once_t onceToken; \ | |
| 154 | +dispatch_once(&onceToken, ^{ \ | |
| 155 | +shared##className = [[self alloc] init]; \ | |
| 156 | +}); \ | |
| 157 | +return shared##className; \ | |
| 158 | +} | |
| 159 | + | |
| 160 | +#define AppVersion [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | +#endif /* CNLiveDefinesHeader_h */ | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveFloatLayoutView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveFloatLayoutView.h | |
| 1 | +// | |
| 2 | +// CNLiveFloatLayoutView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/10/30. | |
| 6 | +// Copyright © 2018 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +/// 用于属性 maximumItemSize,是它的默认值。表示 item 的最大宽高会自动根据当前 floatLayoutView 的内容大小来调整,从而避免 item 内容过多时可能溢出 floatLayoutView。 | |
| 14 | +extern const CGSize CNDSLiveFloatLayoutViewAutomaticalMaximumItemSize; | |
| 15 | + | |
| 16 | +/** | |
| 17 | + * 做类似 CSS 里的 float:left 的布局,自行使用 addSubview: 将子 View 添加进来即可。 | |
| 18 | + * | |
| 19 | + * 支持通过 `contentMode` 属性修改子 View 的对齐方式,目前仅支持 `UIViewContentModeLeft` 和 `UIViewContentModeRight`,默认为 `UIViewContentModeLeft`。 | |
| 20 | + */ | |
| 21 | + | |
| 22 | +@interface CNDSLiveFloatLayoutView : UIView | |
| 23 | + | |
| 24 | +/** | |
| 25 | + * QMUIFloatLayoutView 内部的间距,默认为 UIEdgeInsetsZero | |
| 26 | + */ | |
| 27 | +@property(nonatomic, assign) UIEdgeInsets padding; | |
| 28 | + | |
| 29 | +/** | |
| 30 | + * item 的最小宽高,默认为 CGSizeZero,也即不限制。 | |
| 31 | + */ | |
| 32 | +@property(nonatomic, assign) IBInspectable CGSize minimumItemSize; | |
| 33 | + | |
| 34 | +/** | |
| 35 | + * item 的最大宽高,默认为 QMUIFloatLayoutViewAutomaticalMaximumItemSize,也即不超过 floatLayoutView 自身最大内容宽高。 | |
| 36 | + */ | |
| 37 | +@property(nonatomic, assign) IBInspectable CGSize maximumItemSize; | |
| 38 | + | |
| 39 | +/** | |
| 40 | + * item 之间的间距,默认为 UIEdgeInsetsZero。 | |
| 41 | + * | |
| 42 | + * @warning 上、下、左、右四个边缘的 item 布局时不会考虑 itemMargins.left/bottom/left/right。 | |
| 43 | + */ | |
| 44 | +@property(nonatomic, assign) UIEdgeInsets itemMargins; | |
| 45 | + | |
| 46 | +/** zx最大显示行数 */ | |
| 47 | +@property (nonatomic ,assign) NSInteger zxMaxShowLinesCount; | |
| 48 | +/** zx是否还有更多行 */ | |
| 49 | +@property (nonatomic ,assign) BOOL zxIsMoreLine; | |
| 50 | +/** zx总行数 */ | |
| 51 | +@property (nonatomic ,assign) NSInteger lineCount; | |
| 52 | + | |
| 53 | +@end | |
| 54 | + | |
| 55 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveShareCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveShareCell.h | |
| 1 | +// | |
| 2 | +// CNLiveShareCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/17. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCategoryHotList.h" | |
| 11 | +@class CNDSLiveShareCell; | |
| 12 | + | |
| 13 | +typedef void(^CNDarenInfoAndFocusClick)(NSString *darenId,BOOL fan,NSInteger tag); | |
| 14 | + | |
| 15 | +typedef void(^CNDarenFocusShareImgClick)(NSArray *imageViews,NSArray *thumbnailUrls,NSArray *urlsArr,UIImageView *selectView,NSInteger index, CNDSCategoryHotList * listModel); | |
| 16 | +typedef void(^CNDarenFocusVideoClicks)(CNDSLiveShareCell *cell ,UIImageView * curroutImage,NSString *imageUrl, CNDSCategoryHotList * listModel); | |
| 17 | + | |
| 18 | +@interface CNDSLiveShareCell : UITableViewCell | |
| 19 | + | |
| 20 | +@property (nonatomic, strong) CNDSCategoryHotList *listModel; | |
| 21 | + | |
| 22 | +@property (nonatomic, copy) CNDarenInfoAndFocusClick clickFocusBtnBlock; | |
| 23 | + | |
| 24 | +@property (nonatomic, copy) CNDarenFocusShareImgClick clickShareImgBlock; | |
| 25 | +@property (nonatomic, copy) CNDarenFocusVideoClicks clickVideoBlocks; | |
| 26 | + | |
| 27 | +/** | |
| 28 | + 点击关联商品回调 | |
| 29 | + */ | |
| 30 | +@property (nonatomic,copy) void (^tapAssociatedGoodsCallBack)(NSString * goodsId, NSString * shopType); | |
| 31 | + | |
| 32 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveShareContentView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveShareContentView.h | |
| 1 | +// | |
| 2 | +// CNLiveShareContentView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/17. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCategoryHotList.h" | |
| 11 | + | |
| 12 | +typedef void(^CNDarenInfoAndFocusClick)(NSString *darenId,BOOL fan,NSInteger tag); | |
| 13 | + | |
| 14 | +typedef void(^CNDarenFocusImageClick)(NSArray *imageViews,NSArray *thumbnailUrls,NSArray *urlsArr,UIImageView *selectView,NSInteger index); | |
| 15 | +typedef void(^CNDarensFocusVideosClickContentBlock)(UIImageView * curroutImage, NSString * imageUrl); | |
| 16 | + | |
| 17 | +@interface CNDSLiveShareContentView : UIView | |
| 18 | + | |
| 19 | +@property (nonatomic, strong) CNDSCategoryHotList *listModel; | |
| 20 | + | |
| 21 | +@property (nonatomic, copy) CNDarenInfoAndFocusClick clickFocusBtnBlock; | |
| 22 | + | |
| 23 | +@property (nonatomic, copy) CNDarenFocusImageClick clickImgBlock; | |
| 24 | +@property (nonatomic, copy) CNDarensFocusVideosClickContentBlock clickVideosContentBlock; | |
| 25 | + | |
| 26 | +/** | |
| 27 | + 点击关联商品回调 | |
| 28 | + */ | |
| 29 | +@property (nonatomic,copy) void (^tapAssociatedGoodsCallBack)(NSString * goodsId, NSString * shopType); | |
| 30 | + | |
| 31 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveShareHeaderCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveShareHeaderCell.h | |
| 1 | +// | |
| 2 | +// CNLiveShareCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/3/9. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSDarenCategoryModel.h" | |
| 11 | +#import "CNDSCategoryHomeBaseCell.h" | |
| 12 | +@class CNDSLiveShareHeaderCell; | |
| 13 | + | |
| 14 | +typedef void(^CNDarenInfoAndFocusClick)(NSString *darenId,BOOL fan,NSInteger tag); | |
| 15 | + | |
| 16 | +typedef void(^CNDarenFocusImgClick)(NSArray *imageViews,NSArray *thumbnailUrls,NSArray *urlsArr,UIImageView *selectView,NSInteger index, CNDSCategoryHotList *listModel); | |
| 17 | +typedef void(^CNDarenFocusVideosClickBlock)(CNDSLiveShareHeaderCell * cell,UIImageView * curroutImage,NSString *imageUrl, CNDSCategoryHotList *listModel); | |
| 18 | + | |
| 19 | +@interface CNDSLiveShareHeaderCell : CNDSCategoryHomeBaseCell | |
| 20 | + | |
| 21 | +@property (nonatomic, strong) CNDSDarenCategoryModel *model; | |
| 22 | +@property (nonatomic, strong) CNDSCategoryHotList *listModel; | |
| 23 | +// 关注/主页 | |
| 24 | +@property (nonatomic, copy) CNDarenInfoAndFocusClick clickFocusBtnBlock; | |
| 25 | +// 图片/视频 | |
| 26 | +@property (nonatomic, copy) CNDarenFocusImgClick clickImgBlock; | |
| 27 | +@property (nonatomic, copy) CNDarenFocusVideosClickBlock clickVideosTochBlock; | |
| 28 | + | |
| 29 | +/** | |
| 30 | + 点击关联商品回调 | |
| 31 | + */ | |
| 32 | +@property (nonatomic,copy) void (^tapAssociatedGoodsCallBack)(NSString * goodsId, NSString * shopType); | |
| 33 | + | |
| 34 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveVLionAdWebController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveVLionAdWebController.h | |
| 1 | +// | |
| 2 | +// CNLiveVLionAdWebController.h | |
| 3 | +// CNLive | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/11/1. | |
| 6 | +// Copyright © 2017年 雷浩杰. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNDSWebBaseViewController.h" | |
| 10 | + | |
| 11 | +@interface CNDSLiveVLionAdWebController : CNDSWebBaseViewController | |
| 12 | +@property (nonatomic, strong) NSString *urlString; | |
| 13 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveVLionAdWebView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSLiveVLionAdWebView.h | |
| 1 | +// | |
| 2 | +// CNLiveVLionAdWebView.h | |
| 3 | +// CNLive | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/11/1. | |
| 6 | +// Copyright © 2017年 雷浩杰. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import <WebKit/WebKit.h> | |
| 11 | + | |
| 12 | +typedef void(^WebViewDetailBlock)(NSString *url); | |
| 13 | + | |
| 14 | +@interface CNDSLiveVLionAdWebView : UIView | |
| 15 | + | |
| 16 | +@property (nonatomic, strong) UIWebView *webView; | |
| 17 | + | |
| 18 | +/** | |
| 19 | + * 是否拦截 | |
| 20 | + */ | |
| 21 | +@property (nonatomic, assign) BOOL intercept; | |
| 22 | + | |
| 23 | +@property (nonatomic, copy) WebViewDetailBlock webDetailBlock; | |
| 24 | + | |
| 25 | +- (void)loadDataWithURL:(NSString *)urlString success:(void(^)(void))success failed:(void(^)(NSError *error))failed titleBlock:(void(^)(NSString *title))titleBlock; | |
| 26 | + | |
| 27 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSNewCategoryDetailsCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSNewCategoryDetailsCell.h | |
| 1 | +// | |
| 2 | +// CNNewCategoryDetailsCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/5/17. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCategoryUnfollowInfo.h" | |
| 11 | + | |
| 12 | +@class CNDSNewCategoryDetailsCell; | |
| 13 | +@protocol CNNewCategoryDetailsCellDelegate <NSObject> | |
| 14 | + | |
| 15 | +- (void)focusOrUnfocusDarenWithDarenId:(NSString *)darenId fan:(BOOL)fan cell:(CNDSNewCategoryDetailsCell *)cell; | |
| 16 | + | |
| 17 | +@end | |
| 18 | + | |
| 19 | +@interface CNDSNewCategoryDetailsCell : UITableViewCell | |
| 20 | + | |
| 21 | +@property (nonatomic, strong) CNDSCategoryUnfollowInfo *model; | |
| 22 | +@property (nonatomic, strong) UIButton *focusBtn; | |
| 23 | +@property (nonatomic, weak) id <CNNewCategoryDetailsCellDelegate> categoryDetailsCellDelegate; | |
| 24 | + | |
| 25 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSNoOrderView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSNoOrderView.h | |
| 1 | +// | |
| 2 | +// CNNoOrderView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/3/6. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +@interface CNDSNoOrderView : UIView | |
| 12 | + | |
| 13 | +- (void)setImageName:(NSString *)imageName title:(NSString *)title customTopH:(CGFloat)topH; | |
| 14 | + | |
| 15 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSRefundImgPathItem.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSRefundImgPathItem.h | |
| 1 | +// | |
| 2 | +// CNRefundImgPathItem.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by iOS on 2018/3/7. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSRefundImgPathItem : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic, copy) NSString *imagePath; | |
| 14 | +@property (nonatomic, copy) NSString *thumbnailPath; | |
| 15 | + | |
| 16 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSSearchDarenModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSSearchDarenModel.h | |
| 1 | +// | |
| 2 | +// CNSearchDarenModel.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/6/13. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSSearchDarenModel : NSObject | |
| 12 | + | |
| 13 | +@property (nonatomic ,copy) NSString *id;//达人Id | |
| 14 | +@property (nonatomic ,copy) NSString *img;//店铺头像 | |
| 15 | +@property (nonatomic ,copy) NSString *shopName;//商铺名称 | |
| 16 | + | |
| 17 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSSetUserDefaultTool.h
0 → 100755
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSSetUserDefaultTool.h | |
| 1 | +// | |
| 2 | +// CNSetUserDefaultTool.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by open on 2018/9/1. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +@interface CNDSSetUserDefaultTool : NSObject | |
| 12 | +//设置字体大小系数,1到6 2为默认标准 | |
| 13 | ++(void)setFontSizeCoefficient:(NSInteger )coefficient; | |
| 14 | + | |
| 15 | +//读取字体大小系数,1到6 2为默认标准 | |
| 16 | ++(NSInteger )getFontSizeCoefficient; | |
| 17 | + | |
| 18 | +//读取比例系数 (0.925~1.30) | |
| 19 | ++(float )getScaleCoefficient; | |
| 20 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSStarView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSStarView.h | |
| 1 | +// | |
| 2 | +// CNStarView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/2/7. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +@class CNDSStarView; | |
| 11 | +@protocol CNStarViewDelegate <NSObject> | |
| 12 | +@optional | |
| 13 | +// 星星百分比(得分值)发生变化的代理 | |
| 14 | +- (void)starView:(CNDSStarView *)starView scorePercentDidChange:(CGFloat)newScorePercent; | |
| 15 | +@end | |
| 16 | + | |
| 17 | +@interface CNDSStarView : UIView | |
| 18 | + | |
| 19 | +@property (nonatomic, assign) CGFloat scorePercent;//得分值,范围为0~1,默认1 | |
| 20 | +@property (nonatomic, assign) BOOL hasAnimation;//是否允许动画,默认为NO | |
| 21 | +@property (nonatomic, assign) BOOL allowIncompleteStar;//评分时是否允许不是整星,默认为NO | |
| 22 | + | |
| 23 | +@property (nonatomic, weak) id<CNStarViewDelegate>delegate; | |
| 24 | +- (instancetype)initWithFrame:(CGRect)frame numberOfStars:(NSInteger)numberOfStars; | |
| 25 | + | |
| 26 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSThemeManager.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSThemeManager.h | |
| 1 | +// | |
| 2 | +// CNThemeManager.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/12/30. | |
| 6 | +// Copyright © 2017年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "CNDSThemeProtocol.h" | |
| 11 | + | |
| 12 | +/// 当主题发生变化时,会发送这个通知 | |
| 13 | +extern NSString *const DSCNThemeChangedNotification; | |
| 14 | + | |
| 15 | +/// 主题发生改变前的值,类型为 NSObject<CNThemeProtocol>,可能为 NSNull | |
| 16 | +extern NSString *const DSCNThemeBeforeChangedName; | |
| 17 | + | |
| 18 | +/// 主题发生改变后的值,类型为 NSObject<CNThemeProtocol>,可能为 NSNull | |
| 19 | +extern NSString *const DSCNThemeAfterChangedName; | |
| 20 | + | |
| 21 | +/** | |
| 22 | + * QMUI Demo 的皮肤管理器,当需要换肤时,请为 currentTheme 赋值;当需要获取当前皮肤时,可访问 currentTheme 属性。 | |
| 23 | + * 可通过监听 CNThemeChangedNotification 通知来捕获换肤事件,默认地,CNCommonViewController 及 CNCommonTableViewController 均已支持响应换肤,其响应方法是通过 CNChangingThemeDelegate 接口来实现的。 | |
| 24 | + */ | |
| 25 | +@interface CNDSThemeManager : NSObject | |
| 26 | ++ (instancetype)sharedInstance; | |
| 27 | + | |
| 28 | +@property(nonatomic, strong) NSObject<CNDSThemeProtocol> *currentTheme; | |
| 29 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSThemeProtocol.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSThemeProtocol.h | |
| 1 | +// | |
| 2 | +// CNThemeProtocol.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2017/12/30. | |
| 6 | +// Copyright © 2017年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | + | |
| 10 | +#import <Foundation/Foundation.h> | |
| 11 | +#import <UIKit/UIKit.h> | |
| 12 | + | |
| 13 | +/// 所有主题均应实现这个协议,规定了 QMUI Demo 里常用的几个关键外观属性 | |
| 14 | +@protocol CNDSThemeProtocol <NSObject> | |
| 15 | + | |
| 16 | +@required | |
| 17 | + | |
| 18 | +/// 来自于 QMUIConfigurationTemplate 里的自带方法,用于应用配置表里的设置 | |
| 19 | +- (void)setupConfigurationTemplate; | |
| 20 | + | |
| 21 | +- (UIColor *)themeTintColor; | |
| 22 | +- (UIColor *)themeListTextColor; | |
| 23 | +- (UIColor *)themeCodeColor; | |
| 24 | +- (UIColor *)themeGridItemTintColor; | |
| 25 | + | |
| 26 | +- (NSString *)themeName; | |
| 27 | + | |
| 28 | +@end | |
| 29 | + | |
| 30 | + | |
| 31 | +/// 所有能响应主题变化的对象均应实现这个协议,目前主要用于 CNCommonViewController 及 CNCommonTableViewController | |
| 32 | +@protocol CNChangingThemeDelegate <NSObject> | |
| 33 | + | |
| 34 | +@required | |
| 35 | + | |
| 36 | +- (void)themeBeforeChanged:(NSObject<CNDSThemeProtocol> *)themeBeforeChanged afterChanged:(NSObject<CNDSThemeProtocol> *)themeAfterChanged; | |
| 37 | + | |
| 38 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSUnFocusCollectionCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSUnFocusCollectionCell.h | |
| 1 | +// | |
| 2 | +// CNUnFocusCollectionCell.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by cnliveJunBo on 2018/4/24. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCategoryUnfollowList.h" | |
| 11 | +#import "CNDSDarenCategoryModel.h" | |
| 12 | + | |
| 13 | +@interface CNDSUnFocusCollectionCell : UICollectionViewCell | |
| 14 | + | |
| 15 | +@property (nonatomic, strong) CNDSDarenCategoryModel *listModel; | |
| 16 | +@property (nonatomic, strong) CNDSCategoryUnfollowList *unFocusModel; | |
| 17 | + | |
| 18 | +@property (nonatomic, copy) void(^clickFocusBtnBlock)(NSString *darenId,NSInteger tag); | |
| 19 | + | |
| 20 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSVoucherView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSVoucherView.h | |
| 1 | +// | |
| 2 | +// CNVoucherView.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by iOS on 2018/3/10. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSRefundImgPathItem.h" | |
| 11 | + | |
| 12 | +@interface CNDSVoucherView : UIView | |
| 13 | + | |
| 14 | +@property (nonatomic, strong) NSArray *dataSource; | |
| 15 | + | |
| 16 | +@property (nonatomic,copy) void (^tapImagesCallBack)(NSArray * imageViews, NSUInteger index); | |
| 17 | + | |
| 18 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSWebBaseViewController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNDSWebBaseViewController.h | |
| 1 | +// | |
| 2 | +// CNWebBaseViewController.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/5/12. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "CNDSCommonViewController.h" | |
| 11 | + | |
| 12 | +@interface CNDSWebBaseViewController : CNDSCommonViewController | |
| 13 | +@property (nonatomic, assign) BOOL isBackButton; | |
| 14 | +@property (nonatomic, assign) BOOL isModalButton; | |
| 15 | + | |
| 16 | +@property (nonatomic, strong)UIButton *button; | |
| 17 | +- (void)backAction; | |
| 18 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNLiveDSLabel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/CNLiveDSLabel.h | |
| 1 | +// | |
| 2 | +// CNLiveLabel.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by xx on 2018/5/10. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <YYKit/YYKit.h> | |
| 10 | + | |
| 11 | +typedef NS_ENUM(NSInteger, DSActionType) { | |
| 12 | + // DSActionTypeCopy = 1,//复制 不回调 | |
| 13 | + DSActionTypeDelete = 2,//删除 | |
| 14 | + DSActionTypeReply = 3,//回复 | |
| 15 | + DSActionTypeWithDraw = 4,//撤回 | |
| 16 | + DSActionTypeCopy = 5,//转发 | |
| 17 | +}; | |
| 18 | +typedef NS_ENUM(NSInteger, DSCNLinkType) { | |
| 19 | + DSCNLinkTypeUrl = 0,//点击网页 | |
| 20 | + DSCNLinkTypePhone = 1,//点击手机号 | |
| 21 | +}; | |
| 22 | + | |
| 23 | +@interface CNLiveDSLabel : YYLabel | |
| 24 | + | |
| 25 | +typedef void(^DSLinkActionBlock) (NSString *url, DSCNLinkType type); | |
| 26 | + | |
| 27 | +@property (nonatomic, strong) NSString *oldText; | |
| 28 | +@property (nonatomic, strong) UIColor *highlightColor; | |
| 29 | +@property (nonatomic, copy) DSLinkActionBlock linkAction; | |
| 30 | +@property (nonatomic, assign) BOOL hideWithDrawItem;//隐藏撤回 | |
| 31 | +@property (assign, nonatomic) BOOL hiddenLongPressGes; | |
| 32 | +//zx | |
| 33 | +typedef void(^DSActionClickBlock)(DSActionType DSActionType); | |
| 34 | +@property (nonatomic ,copy) DSActionClickBlock actionClickBlock; | |
| 35 | + | |
| 36 | +-(void)handleTap:(UIGestureRecognizer*) recognizer; | |
| 37 | + | |
| 38 | +/** 实现自定义功能的字符串 复制:copy 删除:delete 回复:reply */ | |
| 39 | +- (void)setActionNames:(NSMutableArray<NSString *> *)actionNames; | |
| 40 | + | |
| 41 | +- (void)setCustomAttributedText:(NSMutableAttributedString *)attributedText; | |
| 42 | +@end | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSAppCommonDefine.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSAppCommonDefine.h | |
| 1 | +// | |
| 2 | +// AppCommonDefine.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/1/2. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | +#import "CNDSSetUserDefaultTool.h" | |
| 9 | +#ifndef DSAppCommonDefine_h | |
| 10 | +#define DSAppCommonDefine_h | |
| 11 | +#ifndef CNThirdPayBack | |
| 12 | +#define CNThirdPayBack @"CNThirdPayBack" //三方支付返回标识 | |
| 13 | +#endif | |
| 14 | + | |
| 15 | +#ifndef CNThirdPayOrderId | |
| 16 | +#define CNThirdPayOrderId @"CNThirdPayOrderId" //三方支付订单Id | |
| 17 | +#endif | |
| 18 | + | |
| 19 | +#ifndef CNDarenHomeSelectChangeNotification | |
| 20 | +#define CNDarenHomeSelectChangeNotification @"CNDarenHomeSelectChangeNotification" //达人主页选择type 改变 | |
| 21 | +#define CNAddGroupMemberNotification @"CNAddGroupMemberNotification" //添加群成员 | |
| 22 | +#define CNDeleteGroupMemberNotification @"CNDeleteGroupMemberNotification" //删除群成功 | |
| 23 | +#define CNMoviePlaybackStateChangeNotication @"CNMoviePlaybackStateChangeNotication" //播放状态发生改变 | |
| 24 | +#define CNApplyRefundSuccessNotification @"CNApplyRefundSuccessNotification" //申请退款成功 | |
| 25 | +#define CNEvaluateSuccessNotioncation @"CNEvaluateSuccessNotioncation" //评论成功 | |
| 26 | +#define CNUpdateDefultAddressSuccessNotication @"CNUpdateDefultAddressSuccessNotication" //添加或修个收货地址成功 | |
| 27 | +#define CNDeleteDefultAddressSuccessNotication @"CNDeleteDefultAddressSUccessNotication" //删除默认的收货地址 | |
| 28 | +#define CNSendImageSuccessNotication @"CNSendImageSuccessNotication" //发送图片成功,更新UI | |
| 29 | +#define CNRatatePortraitNotication @"CNRatatePortraitNotication" //全屏点击分享通知播放界面 由全屏变为竖屏 | |
| 30 | +#endif | |
| 31 | + | |
| 32 | +//*** Native Classify | |
| 33 | + | |
| 34 | +//点击推荐页的栏目 跳转到对应栏目详细页 | |
| 35 | +#define ChangeHomeChannel @"changeHomeChannel" | |
| 36 | + | |
| 37 | +//首页pagingView News类型的页面从屏幕上消失 news页面上的播放器同时消失 | |
| 38 | +#define NewsPagingViewDisappear @"NewsPagingViewDisappear" | |
| 39 | + | |
| 40 | +#define OldChannelVersion @"OldChannelVersion" //首页频道列表版本号 | |
| 41 | +#define NewChannelVersion @"NewChannelVersion" | |
| 42 | + | |
| 43 | +#define NormalChannelArray @"NormalChannelArray" //常用频道 | |
| 44 | +#define OtherChannelArray @"OtherChannelArray" //其他频道 | |
| 45 | + | |
| 46 | +#define AppVersion [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] //CFBundleShortVersionString | |
| 47 | + | |
| 48 | +//*** | |
| 49 | + | |
| 50 | +// 分类板块h5地址存储 | |
| 51 | +#ifndef CNLiveNetAddCategoryChannels | |
| 52 | +#define CNLiveNetAddCategoryChannels @"CNLiveNetAddCategoryChannels" | |
| 53 | +#endif | |
| 54 | +// 是否开启新版本更新提示alert | |
| 55 | +#ifndef CNLiveNetAddAppUpdateAlert | |
| 56 | +#define CNLiveNetAddAppUpdateAlert @"CNLiveNetAddAppUpdateAlert" | |
| 57 | +#endif | |
| 58 | +// 所有协议h5地址存储Key | |
| 59 | +// detailUrl title type:yhxy用户协议/yszc隐私政策/bzfk帮助反馈/ljwjj使用手册/yyjj应用简介/bqxx版权信息/rjxkxy软件许可及服务协议 | |
| 60 | +#ifndef CNWjjUserTermsUrls | |
| 61 | +#define CNWjjUserTermsUrls @"CNWjjUserTermsUrls" | |
| 62 | +#endif | |
| 63 | +// 我的购票h5地址存储Key | |
| 64 | +#ifndef CNWjjEleTicketUrl | |
| 65 | +#define CNWjjEleTicketUrl @"CNWjjEleTicketUrl" | |
| 66 | +#endif | |
| 67 | +// 我的预约状态变化后是否刷新前页Key | |
| 68 | +#ifndef CNWjjH5VideoMyOrderKey | |
| 69 | +#define CNWjjH5VideoMyOrderKey @"CNWjjH5VideoMyOrderKey" | |
| 70 | +#endif | |
| 71 | + | |
| 72 | +// App Store版本号存储 | |
| 73 | +#ifndef CNLiveNetAddAppStoreVersionNumber | |
| 74 | +#define CNLiveNetAddAppStoreVersionNumber @"CNLiveNetAddAppStoreVersionNumber" | |
| 75 | +#endif | |
| 76 | +//////////////////////////////////////////////////////// | |
| 77 | +//////////// AppDelegate | |
| 78 | +//////////////////////////////////////////////////////// | |
| 79 | +#ifndef AppKeyWindow | |
| 80 | +#define AppKeyWindow ((AppDelegate *)[UIApplication sharedApplication].delegate).window | |
| 81 | +#endif | |
| 82 | + | |
| 83 | +#ifndef CNAppDelegate | |
| 84 | +#define CNAppDelegate ((AppDelegate *)[UIApplication sharedApplication].delegate) | |
| 85 | +#endif | |
| 86 | + | |
| 87 | + | |
| 88 | +//////////////////////////////////////////////////////// | |
| 89 | +//////////// function | |
| 90 | +//////////////////////////////////////////////////////// | |
| 91 | +#define isAllowChangeTheme 0 | |
| 92 | + | |
| 93 | + | |
| 94 | +//////////////////////////////////////////////////////// | |
| 95 | +//////////// SCreen | |
| 96 | +//////////////////////////////////////////////////////// | |
| 97 | +#define KScreenWidth ([UIScreen mainScreen].bounds.size.width > [UIScreen mainScreen].bounds.size.height ? [UIScreen mainScreen].bounds.size.height : [UIScreen mainScreen].bounds.size.width) | |
| 98 | +#define KScreenHeight ([UIScreen mainScreen].bounds.size.width > [UIScreen mainScreen].bounds.size.height ? [UIScreen mainScreen].bounds.size.width : [UIScreen mainScreen].bounds.size.height) | |
| 99 | + | |
| 100 | + | |
| 101 | +//判断iPHoneXr | |
| 102 | +#define Device_Is_iPhoneXS_XR ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(828, 1792), [[UIScreen mainScreen] currentMode].size) : NO) | |
| 103 | + | |
| 104 | +//判断iPHoneX、iPHoneXs | |
| 105 | +#define Device_Is_iPhoneX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO) | |
| 106 | +#define Device_Is_iPhoneXS ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125, 2436), [[UIScreen mainScreen] currentMode].size) : NO) | |
| 107 | + | |
| 108 | +//判断iPhoneXs Max | |
| 109 | +#define Device_Is_iPhoneXS_MAX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1242, 2688), [[UIScreen mainScreen] currentMode].size) : NO) | |
| 110 | + | |
| 111 | +#define IS_IPhoneX_All (CGSizeEqualToSize([UIScreen mainScreen].bounds.size, CGSizeMake(375, 812)) ||CGSizeEqualToSize([UIScreen mainScreen].bounds.size, CGSizeMake(812, 375)) ||CGSizeEqualToSize([UIScreen mainScreen].bounds.size, CGSizeMake(414, 896)) ||CGSizeEqualToSize([UIScreen mainScreen].bounds.size, CGSizeMake(896, 414))) | |
| 112 | + | |
| 113 | + | |
| 114 | +#define kStatusHeight (int)[UIApplication sharedApplication].statusBarFrame.size.height //x44 非x20 | |
| 115 | +#define kNavigationBarHeight ((int)[UIApplication sharedApplication].statusBarFrame.size.height+44) //x88 非x64 | |
| 116 | +#define kVerticalNaviBarHeight ((IS_IPhoneX_All > 0) ? 88 : 44) | |
| 117 | +#define kVerticalTabBarTotalHeight ((IS_IPhoneX_All > 0) ? 83 : 49) | |
| 118 | +#define kVerticalBottomSafeHeight ((IS_IPhoneX_All > 0) ? 34 : 0) | |
| 119 | +#define kVerticalStatusHeight ((IS_IPhoneX_All > 0) ? 44 : 20) | |
| 120 | +#define kVerticalTopHeight ((IS_IPhoneX_All > 0) ? 24 : 0) | |
| 121 | +#define kHorizontalTopNaviBarHeight 32 | |
| 122 | +#define kHorizontalBottomHeight ((IS_IPhoneX_All > 0) ? 21 : 0) | |
| 123 | +#define kHorizontalLeftHeight ((IS_IPhoneX_All > 0) ? 44 : 0) | |
| 124 | +#define kHorizontalRightHeight ((IS_IPhoneX_All > 0) ? 44 : 0) | |
| 125 | +#define kHorizontalTopHeight ((IS_IPhoneX_All > 0) ? 24 : 0) | |
| 126 | +//////////////////////分类中直播点播横屏特用//////////////////////////// | |
| 127 | +#define kLiveHorizontalTopHeight ((IS_IPhoneX_All > 0) ? 6 : 0) | |
| 128 | +#define kLiveHorizontalBottomHeight ((IS_IPhoneX_All > 0) ? 11 : 0) | |
| 129 | + | |
| 130 | +//////////////////////////////////////////////////////// | |
| 131 | +//////////// Font | |
| 132 | +//////////////////////////////////////////////////////// | |
| 133 | +#define kAppLargeTextFont [UIFont systemFontOfSize:16] | |
| 134 | +#define kAppMiddleTextFont [UIFont systemFontOfSize:14] | |
| 135 | +#define kAppSmallTextFont [UIFont systemFontOfSize:12] | |
| 136 | + | |
| 137 | +#define TopToolBarHeight (64.0 + IPhoneXSafeAreaInsets.bottom) | |
| 138 | + | |
| 139 | +//////////////////////////////////////////////////////// | |
| 140 | +//////////// 发送图片,视频限制 | |
| 141 | +//////////////////////////////////////////////////////// | |
| 142 | +#define kFriendsCircle_limit_photo 20*1024.0*1024.0 //朋友圈限制图片20M | |
| 143 | +#define kFirendsCircle_limit_video 30*1024.0*1024.0 //朋友圈限制视频30M | |
| 144 | +#define kTarentoComment_limit_photo 10*1024.0*1024.0 //达人评论10M | |
| 145 | +#define kSweepCode_limit_phoho 10*1024.0*1024.0 //扫码10M限制 | |
| 146 | +#define kChat_limit_photo 20*1024.0*1024.0 //聊天限制图片20M | |
| 147 | +#define kChat_limit_video 20*1024.0*1024.0 //聊天限制视频20M | |
| 148 | +#define kChatBackgroupImage_limit_photo 5*1024.0*1024.0 //聊天背景图限制5 M | |
| 149 | +#define kChat_limit_video_length 5*60 //聊天限制视频5分钟 | |
| 150 | +#define kFriendsCircle_limit_video_maxEdit 5*60 //朋友圈限制视频5分钟 | |
| 151 | +#define kFriendsCircle_limit_video_max 10*60 //朋友圈限制最大视频编辑10分钟 | |
| 152 | + | |
| 153 | +//////////////////////////////////////////////////////// | |
| 154 | +//////////// Color | |
| 155 | +//////////////////////////////////////////////////////// | |
| 156 | +#define RGBA(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a] | |
| 157 | +#define RGB(r,g,b) RGBA(r,g,b,1.0f) | |
| 158 | +#define CommonBgColor [UIColor colorWithHexString:@"eeeeee"]; | |
| 159 | + | |
| 160 | +#define kDarenBgColor [UIColor colorWithRed:0.36 green:0.36 blue:0.36 alpha:1.00] | |
| 161 | + | |
| 162 | +#define kDarenGradeColor [UIColor colorWithRed:0.85 green:0.36 blue:0.10 alpha:1.00] | |
| 163 | + | |
| 164 | +#define kDarenYellowColor [UIColor colorWithRed:0.97 green:0.75 blue:0.03 alpha:1.00] | |
| 165 | + | |
| 166 | +#define kDarenGreenColor [UIColor colorWithRed:0.08 green:0.86 blue:0.52 alpha:1.00] | |
| 167 | + | |
| 168 | +#define kToolGrayColor [UIColor colorWithRed:0.94 green:0.94 blue:0.94 alpha:1.00] | |
| 169 | + | |
| 170 | +#define kCameraNextBtnGrayColor [UIColor colorWithRed:0.56 green:0.56 blue:0.56 alpha:1.00] | |
| 171 | + | |
| 172 | +#define kViewCommonGrayColor [UIColor colorWithRed:0.97 green:0.97 blue:0.97 alpha:1.00] | |
| 173 | + | |
| 174 | +#define kLineGrayColor [UIColor colorWithRed:0.95 green:0.95 blue:0.95 alpha:1.00] | |
| 175 | +#define kLineBlueColor [UIColor colorWithRed:0.00 green:0.36 blue:1.00 alpha:1.00] | |
| 176 | + | |
| 177 | +#define kPublishRedColor [UIColor colorWithRed:0.88 green:0.10 blue:0.13 alpha:1.00] | |
| 178 | + | |
| 179 | +#define kPublishNaviRedColor [UIColor colorWithRed:1.00 green:0.17 blue:0.29 alpha:1.00] | |
| 180 | + | |
| 181 | +#define kNaviTintColor [UIColor colorWithRed:0.00 green:0.58 blue:1.00 alpha:1.00] | |
| 182 | + | |
| 183 | +#define kNaviThemeTintColor [UIColor colorWithRed:0.35 green:0.35 blue:0.35 alpha:1.00] | |
| 184 | + | |
| 185 | +#define kPublishSuccessColor [UIColor colorWithRed:0.21 green:1.00 blue:0.75 alpha:1.00] | |
| 186 | + | |
| 187 | +#define kPublishFailureColor [UIColor colorWithRed:1.00 green:0.00 blue:0.00 alpha:1.00] | |
| 188 | + | |
| 189 | +#define kMomentOrgangeColor [UIColor colorWithRed:0.98 green:0.55 blue:0.11 alpha:1.00] | |
| 190 | + | |
| 191 | +#define kMomentLineColor [UIColor colorWithRed:0.79 green:0.79 blue:0.79 alpha:1.00] | |
| 192 | + | |
| 193 | +///////正式 | |
| 194 | +#define kBackGrayColor [UIColor colorWithRed:0.53 green:0.53 blue:0.53 alpha:1.00] | |
| 195 | + | |
| 196 | +#define kGuangbiaoColor [UIColor colorWithRed:0.20 green:0.35 blue:0.95 alpha:1.00] | |
| 197 | + | |
| 198 | +//////////////////////////////////////////////////////// | |
| 199 | +//////////// firendCricle | |
| 200 | +//////////////////////////////////////////////////////// | |
| 201 | +#define contentLabelFontSize 16 | |
| 202 | + | |
| 203 | + | |
| 204 | +//////////////////////////////////////////////////////// | |
| 205 | +//////////// SystemVersion | |
| 206 | +//////////////////////////////////////////////////////// | |
| 207 | +#define iOS7Later ([UIDevice currentDevice].systemVersion.floatValue >= 7.0f) | |
| 208 | +#define iOS8Later ([UIDevice currentDevice].systemVersion.floatValue >= 8.0f) | |
| 209 | +#define iOS9Later ([UIDevice currentDevice].systemVersion.floatValue >= 9.0f) | |
| 210 | +#define iOS9_1Later ([UIDevice currentDevice].systemVersion.floatValue >= 9.1f) | |
| 211 | +#define iOS10Later ([UIDevice currentDevice].systemVersion.floatValue >= 10.0f) | |
| 212 | + | |
| 213 | + | |
| 214 | +//////////////////////////////////////////////////////// | |
| 215 | +//////////// WeakSelf&StrongSelf | |
| 216 | +//////////////////////////////////////////////////////// | |
| 217 | +/** | |
| 218 | + * weakSelf | |
| 219 | + */ | |
| 220 | +#ifndef weakself | |
| 221 | +#define weakself __weak typeof(self)weakSelf = self; | |
| 222 | +#endif | |
| 223 | +/** | |
| 224 | + * strongSelf | |
| 225 | + */ | |
| 226 | +#ifndef strongself | |
| 227 | +#define strongself __strong typeof(weakSelf)self = weakSelf; | |
| 228 | +#endif | |
| 229 | + | |
| 230 | +//////////////////////////////////////////////////////// | |
| 231 | +//////////// 输出测试 | |
| 232 | +//////////////////////////////////////////////////////// | |
| 233 | +#ifdef DEBUG | |
| 234 | +#define NSLog(s, ... ) NSLog( @"[%@ in line %d] ===============>%@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__] ) | |
| 235 | +#else | |
| 236 | +#define NSLog(s, ... ) | |
| 237 | +#endif | |
| 238 | + | |
| 239 | +//////////////////////////////////////////////////////// | |
| 240 | +//////////// NSUserDefault | |
| 241 | +//////////////////////////////////////////////////////// | |
| 242 | +#ifndef CNUserIsLogin | |
| 243 | +#define CNUserIsLogin @"CNUserIsLogin" | |
| 244 | +#endif | |
| 245 | + | |
| 246 | +#ifndef CNUserInfo | |
| 247 | +#define CNUserInfo @"CNUserInfo" | |
| 248 | +#endif | |
| 249 | + | |
| 250 | +#ifndef kCNLiveUserDefaultsTingYunUIDKey | |
| 251 | +#define kCNLiveUserDefaultsTingYunUIDKey @"kCNLiveUserDefaultsTingYunUIDKey" | |
| 252 | +#endif | |
| 253 | + | |
| 254 | +#ifndef CNGroupListInfo // 某群组成员列表list | |
| 255 | +#define CNGroupListInfo @"CNGroupListInfo" | |
| 256 | +#endif | |
| 257 | + | |
| 258 | +#ifndef CNGroupsList // 群组列表list | |
| 259 | +#define CNGroupsList @"CNGroupsList" | |
| 260 | +#endif | |
| 261 | + | |
| 262 | +#ifndef CNRefundReason | |
| 263 | +#define CNRefundReason @"CNRefundReason" | |
| 264 | +#endif | |
| 265 | + | |
| 266 | +//////////////////////////////////////////////////////// | |
| 267 | +//////////// Refresh | |
| 268 | +//////////////////////////////////////////////////////// | |
| 269 | +#define TableViewDefaultOffestHeight 64.f | |
| 270 | + | |
| 271 | +//////////////////////////IM//////////////////////////////// | |
| 272 | +#pragma mark - IM | |
| 273 | + | |
| 274 | +#define kSaftyWordsCode 80001 | |
| 275 | + | |
| 276 | +// 是否支持富文本显示 | |
| 277 | +#define kTestChatAttachment 1 | |
| 278 | + | |
| 279 | +//////////////////////////////////////////////////////// | |
| 280 | +//////////// 动态跟随系统设置的字体大小改变字体和行高 | |
| 281 | +//////////////////////////////////////////////////////// | |
| 282 | +#define RATIO [CNDSSetUserDefaultTool getScaleCoefficient] | |
| 283 | + | |
| 284 | + | |
| 285 | +//字体大小 | |
| 286 | +#define Text_FONT(F) [UIFont systemFontOfSize:F] | |
| 287 | + | |
| 288 | +#define SINGLETON_FOR_HEADER(className) \ | |
| 289 | +\ | |
| 290 | ++ (className *)shared##className; | |
| 291 | + | |
| 292 | +#define SINGLETON_FOR_CLASS(className) \ | |
| 293 | +\ | |
| 294 | ++ (className *)shared##className { \ | |
| 295 | +static className *shared##className = nil; \ | |
| 296 | +static dispatch_once_t onceToken; \ | |
| 297 | +dispatch_once(&onceToken, ^{ \ | |
| 298 | +shared##className = [[self alloc] init]; \ | |
| 299 | +}); \ | |
| 300 | +return shared##className; \ | |
| 301 | +} | |
| 302 | + | |
| 303 | +#endif /* AppCommonDefine_h */ | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSAttentionDarenModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSAttentionDarenModel.h | |
| 1 | +// | |
| 2 | +// DSAttentionDarenModel.h | |
| 3 | +// CNLiveHappinessDSDemo | |
| 4 | +// | |
| 5 | +// Created by 殷巧娟 on 2018/11/29. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface DSAttentionDarenModel : NSObject | |
| 14 | +@property (nonatomic, strong) NSString *image; | |
| 15 | +@property (nonatomic, strong) NSString *nickName; | |
| 16 | +@property (nonatomic, strong) NSString *userId; | |
| 17 | +@end | |
| 18 | + | |
| 19 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSColorHeaders.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSColorHeaders.h | |
| 1 | +// | |
| 2 | +// ColorHeaders.h | |
| 3 | +// CommonLibrary | |
| 4 | +// | |
| 5 | +// Created by Alexi on 3/6/14. | |
| 6 | +// Copyright (c) 2014 CommonLibrary. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#ifndef CommonLibrary_ColorHeaders_h | |
| 10 | +#define CommonLibrary_ColorHeaders_h | |
| 11 | + | |
| 12 | +#import "DSColorMacro.h" | |
| 13 | +#import "UIColor+DSMLPFlatColors.h" | |
| 14 | + | |
| 15 | +#endif | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSColorMacro.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSColorMacro.h | |
| 1 | +// | |
| 2 | +// ColorMarcro.h | |
| 3 | +// CommonLibrary | |
| 4 | +// | |
| 5 | +// Created by Alexi on 13-10-23. | |
| 6 | +// Copyright (c) 2013年 ywchen. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#ifndef CommonLibrary_ColorMarcro_h | |
| 10 | +#define CommonLibrary_ColorMarcro_h | |
| 11 | + | |
| 12 | +#import "UIColor+DSMLPFlatColors.h" | |
| 13 | +#import <QMUIKit/QMUIKit.h> | |
| 14 | + | |
| 15 | + | |
| 16 | +// 取色值相关的方法 | |
| 17 | +#define RGB(r,g,b) [UIColor colorWithRed:(r)/255.f \ | |
| 18 | + green:(g)/255.f \ | |
| 19 | + blue:(b)/255.f \ | |
| 20 | + alpha:1.f] | |
| 21 | + | |
| 22 | +#define RGBA(r,g,b,a) [UIColor colorWithRed:(r)/255.f \ | |
| 23 | + green:(g)/255.f \ | |
| 24 | + blue:(b)/255.f \ | |
| 25 | + alpha:(a)] | |
| 26 | + | |
| 27 | +#define RGBOF(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \ | |
| 28 | + green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \ | |
| 29 | + blue:((float)(rgbValue & 0xFF))/255.0 \ | |
| 30 | + alpha:1.0] | |
| 31 | + | |
| 32 | +#define RGBA_OF(rgbValue) [UIColor colorWithRed:((float)(((rgbValue) & 0xFF000000) >> 24))/255.0 \ | |
| 33 | + green:((float)(((rgbValue) & 0x00FF0000) >> 16))/255.0 \ | |
| 34 | + blue:((float)(rgbValue & 0x0000FF00) >> 8)/255.0 \ | |
| 35 | + alpha:((float)(rgbValue & 0x000000FF))/255.0] | |
| 36 | + | |
| 37 | +#define RGBAOF(v, a) [UIColor colorWithRed:((float)(((v) & 0xFF0000) >> 16))/255.0 \ | |
| 38 | + green:((float)(((v) & 0x00FF00) >> 8))/255.0 \ | |
| 39 | + blue:((float)(v & 0x0000FF))/255.0 \ | |
| 40 | + alpha:a] | |
| 41 | + | |
| 42 | + | |
| 43 | +// 定义通用颜色 | |
| 44 | +#define kBlackColor [UIColor blackColor] | |
| 45 | +#define kDarkGrayColor [UIColor darkGrayColor] | |
| 46 | +#define kLightGrayColor [UIColor lightGrayColor] | |
| 47 | +#define kWhiteColor [UIColor whiteColor] | |
| 48 | +#define kGrayColor [UIColor grayColor] | |
| 49 | +#define kRedColor [UIColor redColor] | |
| 50 | +#define kGreenColor [UIColor greenColor] | |
| 51 | +#define kBlueColor [UIColor blueColor] | |
| 52 | +#define kCyanColor [UIColor cyanColor] | |
| 53 | +#define kYellowColor [UIColor yellowColor] | |
| 54 | +#define kMagentaColor [UIColor magentaColor] | |
| 55 | +#define kOrangeColor [UIColor orangeColor] | |
| 56 | +#define kPurpleColor [UIColor purpleColor] | |
| 57 | +#define kClearColor [UIColor clearColor] | |
| 58 | + | |
| 59 | +#define kWeChatBgColor RGB(242,242,242) | |
| 60 | +#define kTempBlueColor RGB(85,198,242) | |
| 61 | + | |
| 62 | +#define kRandomFlatColor [UIColor randomFlatColor] | |
| 63 | + | |
| 64 | +//文字颜色 | |
| 65 | +#define KTextBlackColor RGB(40, 40, 40) | |
| 66 | +#define KBlack51Color RGB(51, 51, 51) | |
| 67 | +#define KYellowColor RGB(255, 163, 0) | |
| 68 | +#define KYellowHightColor RGB(179, 105, 27) | |
| 69 | +#define KUserInfoGrayColor RGB(101, 101, 101) | |
| 70 | +#define KGrayBgColor RGB(242, 242, 242) | |
| 71 | +#define KGray246BgColor RGB(246, 246, 246) | |
| 72 | +#define KSubTitleGrayColor RGB(152, 152, 152) | |
| 73 | +#define KGray195Color RGB(195, 195, 195) | |
| 74 | +#define KYellow153Color RGB(255, 153, 0) | |
| 75 | +#define KGray235Color RGB(235, 235, 235) | |
| 76 | +#define KGray102Color RGB(102, 102, 102) | |
| 77 | +#define KGray101Color RGB(101, 101, 101) | |
| 78 | +#define KGray153Color RGB(153, 153, 153) | |
| 79 | +#define KGray187Color RGB(187, 187, 187) | |
| 80 | +#define KGray173Color RGB(173, 173, 173) | |
| 81 | +#define KGrayLineColor RGB(243, 244, 245) | |
| 82 | +#define KOrderButtonGrayColor RGB(88, 92, 94) | |
| 83 | +#define KOrderRedColor RGB(255, 51, 85) | |
| 84 | +#define KGray227Color RGB(227, 227, 227) | |
| 85 | +#define KGray242Color RGB(242, 242, 242) | |
| 86 | +#define KGreen194Color RGB(0, 194, 0) | |
| 87 | +#define KOrange163Color RGB(255, 163, 0) | |
| 88 | + | |
| 89 | +#define KCommonLineColor RGB(238, 238, 238) | |
| 90 | +#define KCopyLabelBgColor [UIColor qmui_colorWithHexString:@"4bd647"]//RGB(216, 136, 0) | |
| 91 | +#define KGreenColor @"00c200" | |
| 92 | + | |
| 93 | +#define KGrayColor @"626775" | |
| 94 | + | |
| 95 | +/** | |
| 96 | + * UIColor | |
| 97 | + */ | |
| 98 | +#define ZXColorA(r ,g ,b ,a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)/255.0] | |
| 99 | +#define ZXColor(r ,g ,b) ZXColorA((r),(g),(b),255) | |
| 100 | +#define ZXRandomColor ZXColor(arc4random_uniform(255) ,arc4random_uniform(255) ,arc4random_uniform(255)) | |
| 101 | + | |
| 102 | + | |
| 103 | +#pragma mark - Colors | |
| 104 | + | |
| 105 | +#define UIColorGray1 UIColorMake(53, 60, 70) | |
| 106 | +#define UIColorGray2 UIColorMake(73, 80, 90) | |
| 107 | +#define UIColorGray3 UIColorMake(93, 100, 110) | |
| 108 | +#define UIColorGray4 UIColorMake(113, 120, 130) | |
| 109 | +#define UIColorGray5 UIColorMake(133, 140, 150) | |
| 110 | +#define UIColorGray6 UIColorMake(153, 160, 170) | |
| 111 | +#define UIColorGray7 UIColorMake(173, 180, 190) | |
| 112 | +#define UIColorGray8 UIColorMake(196, 200, 208) | |
| 113 | +#define UIColorGray9 UIColorMake(216, 220, 228) | |
| 114 | + | |
| 115 | +#define UIColorTheme1 UIColorMake(239, 83, 98) // Grapefruit | |
| 116 | +#define UIColorTheme2 UIColorMake(254, 109, 75) // Bittersweet | |
| 117 | +#define UIColorTheme3 UIColorMake(255, 207, 71) // Sunflower | |
| 118 | +#define UIColorTheme4 UIColorMake(159, 214, 97) // Grass | |
| 119 | +#define UIColorTheme5 UIColorMake(63, 208, 173) // Mint | |
| 120 | +#define UIColorTheme6 UIColorMake(49, 189, 243) // Aqua | |
| 121 | +#define UIColorTheme7 UIColorMake(90, 154, 239) // Blue Jeans | |
| 122 | +#define UIColorTheme8 UIColorMake(172, 143, 239) // Lavender | |
| 123 | +#define UIColorTheme9 UIColorMake(238, 133, 193) // Pink Rose | |
| 124 | + | |
| 125 | +#endif | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSConst.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSConst.h | |
| 1 | +// DSConst.h :引用所有的全局常量 | |
| 2 | + | |
| 3 | +#import <UIKit/UIKit.h> | |
| 4 | + | |
| 5 | +/** 通用的间距值 */ | |
| 6 | +UIKIT_EXTERN CGFloat const DSZXMargin; | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | +/** 网络请求超时时间 */ | |
| 11 | +UIKIT_EXTERN CGFloat const kDSTimeoutInterval; | |
| 12 | + | |
| 13 | + | |
| 14 | + | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSDarenGoodsView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSDarenGoodsView.h | |
| 1 | +// | |
| 2 | +// DSDarenGoodsView.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2018/12/3. | |
| 6 | +// | |
| 7 | + | |
| 8 | +#import <UIKit/UIKit.h> | |
| 9 | + | |
| 10 | +NS_ASSUME_NONNULL_BEGIN | |
| 11 | + | |
| 12 | +@interface DSDarenGoodsView : UIView | |
| 13 | + | |
| 14 | +@property (nonatomic,strong) UIImageView * goodsImageView; | |
| 15 | +@property (nonatomic,strong) UILabel * goodsTitleLab; | |
| 16 | +@property (nonatomic,strong) UILabel * goodsPriceLab; | |
| 17 | +@property (nonatomic,strong) UILabel * goodsBuyLab; | |
| 18 | + | |
| 19 | +@property (nonatomic,copy) void (^goodsTapCallBack)(void); | |
| 20 | + | |
| 21 | +@end | |
| 22 | + | |
| 23 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsBottomView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsBottomView.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsBottomView.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/12. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "DSHPDRDynamicDetailsModel.h" | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicDetailsBottomView : UIView | |
| 15 | + | |
| 16 | +#pragma mark - 回调 | |
| 17 | + | |
| 18 | +@property (nonatomic,copy) void (^clickBackCallBack)(void);//返回 | |
| 19 | +@property (nonatomic,copy) void (^clickCommentCallBack)(void);//评论 | |
| 20 | +@property (nonatomic,copy) void (^clickSupportCallBack)(void);//点赞 | |
| 21 | + | |
| 22 | +#pragma mark - 赋值 | |
| 23 | + | |
| 24 | +@property (nonatomic,strong) DSHPDRDynamicDetailsModel * model; | |
| 25 | + | |
| 26 | +@end | |
| 27 | + | |
| 28 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsCommentListModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsCommentListModel.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsCommentListModel.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/14. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +@class DSHPDRDynamicDetailsCommentModel; | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicDetailsCommentListModel : NSObject | |
| 15 | + | |
| 16 | +/** | |
| 17 | + 评论id | |
| 18 | + */ | |
| 19 | +@property (nonatomic,copy) NSString * id; | |
| 20 | +/** | |
| 21 | + 用户id | |
| 22 | + */ | |
| 23 | +@property (nonatomic,copy) NSString * uid; | |
| 24 | +/** | |
| 25 | + 上级id 一级评论的pid为0 | |
| 26 | + */ | |
| 27 | +@property (nonatomic,copy) NSString * pid; | |
| 28 | +/** | |
| 29 | + 动态id | |
| 30 | + */ | |
| 31 | +@property (nonatomic,copy) NSString * dynamic_id; | |
| 32 | +/** | |
| 33 | + 用户昵称 | |
| 34 | + */ | |
| 35 | +@property (nonatomic,copy) NSString * user_name; | |
| 36 | +/** | |
| 37 | + 用户头像 | |
| 38 | + */ | |
| 39 | +@property (nonatomic,copy) NSString * user_img; | |
| 40 | +/** | |
| 41 | + 对谁说的用户id | |
| 42 | + */ | |
| 43 | +@property (nonatomic,copy) NSString * fid; | |
| 44 | +/** | |
| 45 | + 对方昵称 | |
| 46 | + */ | |
| 47 | +@property (nonatomic,copy) NSString * f_user_name; | |
| 48 | +/** | |
| 49 | + 对方头像 | |
| 50 | + */ | |
| 51 | +@property (nonatomic,copy) NSString * f_user_img; | |
| 52 | +/** | |
| 53 | + 内容 | |
| 54 | + */ | |
| 55 | +@property (nonatomic,copy) NSString * content; | |
| 56 | +/** | |
| 57 | + 时间戳 | |
| 58 | + */ | |
| 59 | +@property (nonatomic,assign) NSTimeInterval addtime; | |
| 60 | +/** | |
| 61 | + 点赞数 | |
| 62 | + */ | |
| 63 | +@property (nonatomic,assign) NSUInteger upper; | |
| 64 | +/** | |
| 65 | + 是否点赞 1点赞 | |
| 66 | + */ | |
| 67 | +@property (nonatomic,assign) BOOL is_upper; | |
| 68 | +/** | |
| 69 | + 是否作者 1是 | |
| 70 | + */ | |
| 71 | +@property (nonatomic,assign) BOOL is_author; | |
| 72 | +/** | |
| 73 | + 子评论 | |
| 74 | + */ | |
| 75 | +@property (nonatomic,strong) DSHPDRDynamicDetailsCommentModel * comment_list; | |
| 76 | + | |
| 77 | +#pragma mark - 自己加的 | |
| 78 | + | |
| 79 | +/** | |
| 80 | + 是否在加载更多 | |
| 81 | + */ | |
| 82 | +@property (nonatomic,assign) BOOL isLoadMore; | |
| 83 | + | |
| 84 | +@end | |
| 85 | + | |
| 86 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsCommentModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsCommentModel.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsCommentModel.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/13. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "DSHPDRDynamicDetailsCommentListModel.h" | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicDetailsCommentModel : NSObject | |
| 15 | + | |
| 16 | +/** | |
| 17 | + 二级剩余评论数 (一级评论没用) | |
| 18 | + */ | |
| 19 | +@property (nonatomic,assign) NSUInteger count; | |
| 20 | +/** | |
| 21 | + 目前显示的评论列表 | |
| 22 | + */ | |
| 23 | +@property (nonatomic,copy) NSArray<DSHPDRDynamicDetailsCommentListModel*> * list; | |
| 24 | + | |
| 25 | +@end | |
| 26 | + | |
| 27 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsCommentView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsCommentView.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsCommentView.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/13. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "DSHPDRDynamicDetailsCommentListModel.h" | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicDetailsCommentView : UIView | |
| 15 | + | |
| 16 | +#pragma mark - UI | |
| 17 | + | |
| 18 | +@property (nonatomic,strong) DSTextView * textView; | |
| 19 | + | |
| 20 | +#pragma mark - 赋值 | |
| 21 | + | |
| 22 | +/** | |
| 23 | + 要回复的评论id | |
| 24 | + */ | |
| 25 | +@property (nonatomic,strong,nullable) DSHPDRDynamicDetailsCommentListModel * commentModel; | |
| 26 | + | |
| 27 | +#pragma mark - 回调 | |
| 28 | + | |
| 29 | +/** | |
| 30 | + 发送评论回调 | |
| 31 | + */ | |
| 32 | +@property (nonatomic,copy) void (^sendCommentCallBack)(NSString * comment, DSHPDRDynamicDetailsCommentListModel * _Nullable commentModel); | |
| 33 | + | |
| 34 | +@end | |
| 35 | + | |
| 36 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsModel.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsModel.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/12. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface DSHPDRDynamicDetailsModel : NSObject | |
| 14 | + | |
| 15 | +/** | |
| 16 | + 动态id | |
| 17 | + */ | |
| 18 | +@property (nonatomic,copy) NSString * id; | |
| 19 | +/** | |
| 20 | + 标题 | |
| 21 | + */ | |
| 22 | +@property (nonatomic,copy) NSString * title; | |
| 23 | +/** | |
| 24 | + 发布人id | |
| 25 | + */ | |
| 26 | +@property (nonatomic,copy) NSString * uid; | |
| 27 | +/** | |
| 28 | + 网家家号 | |
| 29 | + */ | |
| 30 | +@property (nonatomic,copy) NSString * c_uid; | |
| 31 | +/** | |
| 32 | + 发布时间戳 | |
| 33 | + */ | |
| 34 | +@property (nonatomic,assign) NSTimeInterval addtime; | |
| 35 | +/** | |
| 36 | + 经度 | |
| 37 | + */ | |
| 38 | +@property (nonatomic,copy) NSString * longitude; | |
| 39 | +/** | |
| 40 | + 纬度 | |
| 41 | + */ | |
| 42 | +@property (nonatomic,copy) NSString * latitude; | |
| 43 | +/** | |
| 44 | + 浏览量 | |
| 45 | + */ | |
| 46 | +@property (nonatomic,assign) NSUInteger pv; | |
| 47 | +/** | |
| 48 | + 点赞数 | |
| 49 | + */ | |
| 50 | +@property (nonatomic,assign) NSUInteger upper; | |
| 51 | +/** | |
| 52 | + 评论数 | |
| 53 | + */ | |
| 54 | +@property (nonatomic,assign) NSUInteger comment; | |
| 55 | +/** | |
| 56 | + 地址 | |
| 57 | + */ | |
| 58 | +@property (nonatomic,copy) NSString * location; | |
| 59 | +/** | |
| 60 | + 视频 | |
| 61 | + */ | |
| 62 | +@property (nonatomic,copy) NSString * video; | |
| 63 | +/** | |
| 64 | + 视频缩略图 | |
| 65 | + */ | |
| 66 | +@property (nonatomic,copy) NSString * video_img; | |
| 67 | +/** | |
| 68 | + 视频时长(秒) | |
| 69 | + */ | |
| 70 | +@property (nonatomic,assign) NSTimeInterval video_duration; | |
| 71 | +/** | |
| 72 | + 是否点赞 1点赞 0没点 | |
| 73 | + */ | |
| 74 | +@property (nonatomic,assign) BOOL is_upper; | |
| 75 | +/** | |
| 76 | + 图片 | |
| 77 | + */ | |
| 78 | +@property (nonatomic,copy) NSArray<NSString*> * img; | |
| 79 | +/** | |
| 80 | + 达人名称 | |
| 81 | + */ | |
| 82 | +@property (nonatomic,copy) NSString * user_name; | |
| 83 | +/** | |
| 84 | + 达人头像 | |
| 85 | + */ | |
| 86 | +@property (nonatomic,copy) NSString * user_img; | |
| 87 | +/** | |
| 88 | + 是否关注 1已关注 0未关注 | |
| 89 | + */ | |
| 90 | +@property (nonatomic,assign) BOOL is_fans; | |
| 91 | +/** | |
| 92 | + 当前时间戳 | |
| 93 | + */ | |
| 94 | +@property (nonatomic,assign) NSTimeInterval time; | |
| 95 | +/** | |
| 96 | + 店铺id | |
| 97 | + */ | |
| 98 | +@property (nonatomic,copy) NSString * shop_id; | |
| 99 | + | |
| 100 | +@end | |
| 101 | + | |
| 102 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableHeaderCollectionViewCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableHeaderCollectionViewCell.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsTableHeaderCollectionViewCell.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/12. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface DSHPDRDynamicDetailsTableHeaderCollectionViewCell : UICollectionViewCell | |
| 14 | + | |
| 15 | +#pragma mark - UI | |
| 16 | + | |
| 17 | +@property (nonatomic,strong) DSImageView * displayImageView; | |
| 18 | + | |
| 19 | +#pragma mark - 回调 | |
| 20 | + | |
| 21 | +/** | |
| 22 | + 点击自己回调 | |
| 23 | + */ | |
| 24 | +@property (nonatomic,copy) void (^clickSelfCallBack)(DSHPDRDynamicDetailsTableHeaderCollectionViewCell * currentCell, NSIndexPath * currentIndexPath); | |
| 25 | + | |
| 26 | +#pragma mark - 赋值 | |
| 27 | + | |
| 28 | +@property (nonatomic,strong) NSIndexPath * indexPath; | |
| 29 | + | |
| 30 | +@property (nonatomic,copy,readonly) NSString * imageUrl; | |
| 31 | +@property (nonatomic,assign,readonly) BOOL isVideo; | |
| 32 | +@property (nonatomic,assign,readonly) NSTimeInterval videoDuration; | |
| 33 | + | |
| 34 | +-(void)setImageUrl:(NSString*)imageUrl isVideo:(BOOL)isVideo videoDuration:(NSTimeInterval)videoDuration; | |
| 35 | + | |
| 36 | +@end | |
| 37 | + | |
| 38 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableHeaderPageControl.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableHeaderPageControl.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsTableHeaderPageControl.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/12. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface DSHPDRDynamicDetailsTableHeaderPageControl : UIView | |
| 14 | + | |
| 15 | +/** | |
| 16 | + 圆点总数 | |
| 17 | + */ | |
| 18 | +@property(nonatomic,assign) NSInteger numberOfPages; | |
| 19 | +/** | |
| 20 | + 当前选中的圆点 | |
| 21 | + */ | |
| 22 | +@property(nonatomic,assign) NSInteger currentPage; | |
| 23 | + | |
| 24 | +@end | |
| 25 | + | |
| 26 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableHeaderView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableHeaderView.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsTableHeaderView.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/12. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "DSHPDRDynamicDetailsModel.h" | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicDetailsTableHeaderView : UITableViewHeaderFooterView | |
| 15 | + | |
| 16 | +#pragma mark - 属性 | |
| 17 | + | |
| 18 | +/** | |
| 19 | + 全部评论顶部Y值 | |
| 20 | + */ | |
| 21 | +@property (nonatomic,assign,readonly) CGFloat totalCommentMarkY; | |
| 22 | + | |
| 23 | +#pragma mark - 赋值 | |
| 24 | + | |
| 25 | +@property (nonatomic,strong) DSHPDRDynamicDetailsModel * model; | |
| 26 | + | |
| 27 | +#pragma mark - 回调 | |
| 28 | + | |
| 29 | +/** | |
| 30 | + 点击视频回调 | |
| 31 | + */ | |
| 32 | +@property (nonatomic,copy) void (^clickVideoCallBack)(NSString * videoUrl, DSImageView * cImageView); | |
| 33 | +/** | |
| 34 | + 点击图片回调 | |
| 35 | + */ | |
| 36 | +@property (nonatomic,copy) void (^clickImageCellBack)(NSArray * imageUrls, DSImageView * cImageView, NSUInteger index); | |
| 37 | + | |
| 38 | +@end | |
| 39 | + | |
| 40 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableSectionHeaderView.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableSectionHeaderView.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsTableSectionHeaderView.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/12. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <UIKit/UIKit.h> | |
| 10 | +#import "DSHPDRDynamicDetailsCommentListModel.h" | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicDetailsTableSectionHeaderView : UITableViewHeaderFooterView | |
| 15 | + | |
| 16 | +#pragma mark - 赋值 | |
| 17 | + | |
| 18 | +@property (nonatomic,strong) DSHPDRDynamicDetailsCommentListModel * model; | |
| 19 | + | |
| 20 | +#pragma mark - 回调 | |
| 21 | + | |
| 22 | +/** | |
| 23 | + 长按回调 | |
| 24 | + */ | |
| 25 | +@property (nonatomic,copy) void (^longPressCallBack)(DSHPDRDynamicDetailsCommentListModel * model); | |
| 26 | +/** | |
| 27 | + 点击评论回调 | |
| 28 | + */ | |
| 29 | +@property (nonatomic,copy) void (^clickCommentCallBack)(DSHPDRDynamicDetailsCommentListModel * model); | |
| 30 | +/** | |
| 31 | + 点击点赞回调 | |
| 32 | + */ | |
| 33 | +@property (nonatomic,copy) void (^clickSupportCallBack)(DSHPDRDynamicDetailsCommentListModel * model); | |
| 34 | + | |
| 35 | +@end | |
| 36 | + | |
| 37 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableViewCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsTableViewCell.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsTableViewCell.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/12. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <DSBaseModule/DSBaseModule.h> | |
| 10 | +#import "DSHPDRDynamicDetailsCommentListModel.h" | |
| 11 | + | |
| 12 | +typedef NS_ENUM(NSUInteger, DSHPDRDynamicDetailsType) { | |
| 13 | + DSHPDRDynamicDetailsTypeTop = 0, //第一个cell | |
| 14 | + DSHPDRDynamicDetailsTypeBottom, //最后一个cell | |
| 15 | + DSHPDRDynamicDetailsTypeTopAndBottom, //第一个 也是 最后一个 cell | |
| 16 | + DSHPDRDynamicDetailsTypeOther, //其他cell | |
| 17 | +}; | |
| 18 | + | |
| 19 | +NS_ASSUME_NONNULL_BEGIN | |
| 20 | + | |
| 21 | +@interface DSHPDRDynamicDetailsTableViewCell : DSTableViewCell | |
| 22 | + | |
| 23 | +#pragma mark - 回调 | |
| 24 | + | |
| 25 | +/** | |
| 26 | + 长按回调 | |
| 27 | + */ | |
| 28 | +@property (nonatomic,copy) void (^longPressCallBack)(DSHPDRDynamicDetailsCommentListModel * model); | |
| 29 | +/** | |
| 30 | + 点击更多回调 | |
| 31 | + */ | |
| 32 | +@property (nonatomic,copy) void (^clickMoreCallBack)(DSHPDRDynamicDetailsTableViewCell * currentCell, DSHPDRDynamicDetailsCommentListModel * model, DSHPDRDynamicDetailsCommentListModel * parentModel); | |
| 33 | +/** | |
| 34 | + 点击评论回调 | |
| 35 | + */ | |
| 36 | +@property (nonatomic,copy) void (^clickCommentCallBack)(DSHPDRDynamicDetailsCommentListModel * model); | |
| 37 | + | |
| 38 | +#pragma mark - 赋值 | |
| 39 | + | |
| 40 | +/** | |
| 41 | + 样式 | |
| 42 | + */ | |
| 43 | +@property (nonatomic,assign,readonly) DSHPDRDynamicDetailsType type; | |
| 44 | +/** | |
| 45 | + 更多还有几个 | |
| 46 | + */ | |
| 47 | +@property (nonatomic,assign,readonly) NSUInteger moreNum; | |
| 48 | +/** | |
| 49 | + 数据 | |
| 50 | + */ | |
| 51 | +@property (nonatomic,strong,readonly) DSHPDRDynamicDetailsCommentListModel * model; | |
| 52 | +/** | |
| 53 | + 上一级评论数据 | |
| 54 | + */ | |
| 55 | +@property (nonatomic,strong,readonly) DSHPDRDynamicDetailsCommentListModel * parentModel; | |
| 56 | + | |
| 57 | +/** | |
| 58 | + 赋值 | |
| 59 | + | |
| 60 | + @param type 样式 | |
| 61 | + @param moreNum 更多还有几个 | |
| 62 | + @param model 数据 | |
| 63 | + @param parentModel 上一级评论数据 | |
| 64 | + */ | |
| 65 | +-(void)setType:(DSHPDRDynamicDetailsType)type moreNum:(NSUInteger)moreNum model:(DSHPDRDynamicDetailsCommentListModel*)model parentModel:(DSHPDRDynamicDetailsCommentListModel*)parentModel; | |
| 66 | + | |
| 67 | +@end | |
| 68 | + | |
| 69 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsViewController.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicDetailsViewController.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicDetailsViewController.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/10. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <DSBaseModule/DSBaseModule.h> | |
| 10 | + | |
| 11 | +NS_ASSUME_NONNULL_BEGIN | |
| 12 | + | |
| 13 | +@interface DSHPDRDynamicDetailsViewController : DSBaseViewController | |
| 14 | + | |
| 15 | +/** | |
| 16 | + 动态id | |
| 17 | + */ | |
| 18 | +@property (nonatomic,copy) NSString * dynamicId; | |
| 19 | + | |
| 20 | +@end | |
| 21 | + | |
| 22 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicListModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicListModel.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicListModel.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/8. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import <UIKit/UIKit.h> | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicListModel : NSObject | |
| 15 | + | |
| 16 | +/** | |
| 17 | + 动态id | |
| 18 | + */ | |
| 19 | +@property (nonatomic,copy) NSString * id; | |
| 20 | +/** | |
| 21 | + 标题 | |
| 22 | + */ | |
| 23 | +@property (nonatomic,copy) NSString * title; | |
| 24 | +/** | |
| 25 | + 发布人id | |
| 26 | + */ | |
| 27 | +@property (nonatomic,copy) NSString * uid; | |
| 28 | +/** | |
| 29 | + 发布时间戳 | |
| 30 | + */ | |
| 31 | +@property (nonatomic,assign) NSTimeInterval addtime; | |
| 32 | +/** | |
| 33 | + 经度 | |
| 34 | + */ | |
| 35 | +@property (nonatomic,assign) double longitude; | |
| 36 | +/** | |
| 37 | + 纬度 | |
| 38 | + */ | |
| 39 | +@property (nonatomic,assign) double latitude; | |
| 40 | +/** | |
| 41 | + 浏览数 | |
| 42 | + */ | |
| 43 | +@property (nonatomic,assign) NSUInteger pv; | |
| 44 | +/** | |
| 45 | + 点赞数 | |
| 46 | + */ | |
| 47 | +@property (nonatomic,assign) NSUInteger upper; | |
| 48 | +/** | |
| 49 | + 评论数 | |
| 50 | + */ | |
| 51 | +@property (nonatomic,assign) NSUInteger comment; | |
| 52 | +/** | |
| 53 | + 地址 | |
| 54 | + */ | |
| 55 | +@property (nonatomic,copy) NSString * location; | |
| 56 | +/** | |
| 57 | + 视频链接 | |
| 58 | + */ | |
| 59 | +@property (nonatomic,copy) NSString * video; | |
| 60 | +/** | |
| 61 | + 视频封面图 | |
| 62 | + */ | |
| 63 | +@property (nonatomic,copy) NSString * video_img; | |
| 64 | +/** | |
| 65 | + 是否点赞 1点赞 0没有 | |
| 66 | + */ | |
| 67 | +@property (nonatomic,assign) BOOL is_upper; | |
| 68 | +/** | |
| 69 | + 图片数组 | |
| 70 | + */ | |
| 71 | +@property (nonatomic,copy) NSArray<NSString*> * img; | |
| 72 | + | |
| 73 | +#pragma mark - 自己加的 | |
| 74 | + | |
| 75 | +@property (nonatomic,assign) BOOL isDisplayYear;//是否显示年 | |
| 76 | +@property (nonatomic,assign) NSString * year;//年 | |
| 77 | + | |
| 78 | +@property (nonatomic,assign) CGFloat titleHeight;//内容高度 | |
| 79 | +@property (nonatomic,assign) CGFloat cellHeight;//cell高度 | |
| 80 | + | |
| 81 | +-(void)calcLayout; | |
| 82 | + | |
| 83 | +@end | |
| 84 | + | |
| 85 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicModel.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicModel.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicModel.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/8. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <Foundation/Foundation.h> | |
| 10 | +#import "DSHPDRDynamicListModel.h" | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicModel : NSObject | |
| 15 | + | |
| 16 | +/** | |
| 17 | + 列表数据 | |
| 18 | + */ | |
| 19 | +@property (nonatomic,copy) NSArray<DSHPDRDynamicListModel*> * list; | |
| 20 | + | |
| 21 | +@end | |
| 22 | + | |
| 23 | +NS_ASSUME_NONNULL_END | ... | ... |
DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicTableViewCell.h
0 → 100644
| 1 | +++ a/DSHappinessModuleF/Frameworks/DSHappinessModule.framework/Headers/DSHPDRDynamicTableViewCell.h | |
| 1 | +// | |
| 2 | +// DSHPDRDynamicTableViewCell.h | |
| 3 | +// DSCnliveShopSDK | |
| 4 | +// | |
| 5 | +// Created by zhaolin on 2019/8/8. | |
| 6 | +// Copyright © 2019 BIKE. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import <DSBaseModule/DSBaseModule.h> | |
| 10 | +#import "DSHPDRDynamicListModel.h" | |
| 11 | + | |
| 12 | +NS_ASSUME_NONNULL_BEGIN | |
| 13 | + | |
| 14 | +@interface DSHPDRDynamicTableViewCell : DSTableViewCell | |
| 15 | + | |
| 16 | +#pragma mark - 赋值 | |
| 17 | + | |
| 18 | +@property (nonatomic,strong) DSHPDRDynamicListModel * model; | |
| 19 | + | |
| 20 | +#pragma mark - 回调 | |
| 21 | + | |
| 22 | +/** | |
| 23 | + 点击点赞回调 | |
| 24 | + */ | |
| 25 | +@property (nonatomic,copy) void (^clickSupportCallBack)(DSHPDRDynamicListModel * model); | |
| 26 | + | |
| 27 | +@end | |
| 28 | + | |
| 29 | +NS_ASSUME_NONNULL_END | ... | ... |