wangguolei

3.6.0.03071115

Showing 87 changed files with 905 additions and 1 deletions
1 1
2 Pod::Spec.new do |s| 2 Pod::Spec.new do |s|
3 s.name = 'liberate' 3 s.name = 'liberate'
4 - s.version = "3.6.0.03071110" 4 + s.version = "3.6.0.03071115"
5 s.summary = 'A short description of liberate.' 5 s.summary = 'A short description of liberate.'
6 6
7 s.ios.deployment_target = '9.0' 7 s.ios.deployment_target = '9.0'
No preview for this file type
No preview for this file type
  1 +//
  2 +// FSPagerViewObjcCompat.h
  3 +// FSPagerView
  4 +//
  5 +// Created by 丁文超 on 2018/9/18.
  6 +// Copyright © 2018 Wenchao Ding. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +#import <Foundation/Foundation.h>
  11 +
  12 +#define FSPagerViewExtern extern
  13 +
  14 +/**
  15 + Requests that FSPagerView use the default value for a given distance.
  16 + */
  17 +FSPagerViewExtern NSUInteger const FSPagerViewAutomaticDistance;
  18 +
  19 +/**
  20 + Requests that FSPagerView use the default value for a given size.
  21 + */
  22 +FSPagerViewExtern CGSize const FSPagerViewAutomaticSize;
  23 +
  1 +//
  2 +// GKDYPanGestureRecognizer.h
  3 +// GKDYVideo
  4 +//
  5 +// Created by gaokun on 2019/7/31.
  6 +// Copyright © 2019 QuintGao. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +typedef NS_ENUM(NSUInteger, GKDYPanGestureRecognizerDirection) {
  14 + GKDYPanGestureRecognizerDirectionVertical,
  15 + GKDYPanGestureRecognizerDirectionHorizontal
  16 +};
  17 +
  18 +@interface GKDYPanGestureRecognizer : UIPanGestureRecognizer
  19 +
  20 +@property (nonatomic, assign) GKDYPanGestureRecognizerDirection direction;
  21 +
  22 +@end
  23 +
  24 +NS_ASSUME_NONNULL_END
  1 +//
  2 +// GKDYVideoControlView.h
  3 +// GKDYVideo
  4 +//
  5 +// Created by QuintGao on 2018/9/23.
  6 +// Copyright © 2018 QuintGao. All rights reserved.
  7 +// 播放器视图控制层
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +#import "GKSliderView.h"
  11 +
  12 +
  13 +@class ATRecord;
  14 +
  15 +NS_ASSUME_NONNULL_BEGIN
  16 +
  17 +@class GKDYVideoControlView;
  18 +
  19 +@protocol GKDYVideoControlViewDelegate <NSObject>
  20 +
  21 +- (void)controlViewDidClickSelf:(GKDYVideoControlView *)controlView;
  22 +
  23 +- (void)controlViewDidClickIcon:(GKDYVideoControlView *)controlView;
  24 +
  25 +- (void)controlViewDidClickPriase:(GKDYVideoControlView *)controlView;
  26 +
  27 +- (void)controlViewDidClickComment:(GKDYVideoControlView *)controlView;
  28 +
  29 +- (void)controlViewDidClickShare:(GKDYVideoControlView *)controlView;
  30 +
  31 +- (void)controlView:(GKDYVideoControlView *)controlView touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
  32 +
  33 +@end
  34 +
  35 +@interface GKDYVideoControlView : UIView
  36 +
  37 +@property (nonatomic, weak) id<GKDYVideoControlViewDelegate> delegate;
  38 +
  39 +// 视频封面图:显示封面并播放视频
  40 +@property (nonatomic, strong) UIImageView *coverImgView;
  41 +
  42 +@property (nonatomic, strong) ATRecord *model;
  43 +
  44 +@property (nonatomic, strong) GKSliderView *sliderView;
  45 +
  46 +- (void)setProgress:(float)progress;
  47 +
  48 +- (void)startLoading;
  49 +- (void)stopLoading;
  50 +
  51 +- (void)showPlayBtn;
  52 +- (void)hidePlayBtn;
  53 +
  54 +- (void)showLikeAnimation;
  55 +- (void)showUnLikeAnimation;
  56 +
  57 +
  58 +- (void)showCover;
  59 +-(void)hideCover;
  60 +
  61 +@end
  62 +
  63 +NS_ASSUME_NONNULL_END
  1 +//
  2 +// GKDYVideoPlayer.h
  3 +// GKDYVideo
  4 +//
  5 +// Created by QuintGao on 2018/9/23.
  6 +// Copyright © 2018 QuintGao. All rights reserved.
  7 +//
  8 +
  9 +#import <Foundation/Foundation.h>
  10 +#import <UIKit/UIKit.h>
  11 +
  12 +NS_ASSUME_NONNULL_BEGIN
  13 +
  14 +typedef NS_ENUM(NSUInteger, GKDYVideoPlayerStatus) {
  15 + GKDYVideoPlayerStatusUnload, // 未加载
  16 + GKDYVideoPlayerStatusPrepared, // 准备播放
  17 + GKDYVideoPlayerStatusLoading, // 加载中
  18 + GKDYVideoPlayerStatusPlaying, // 播放中
  19 + GKDYVideoPlayerStatusPaused, // 暂停
  20 + GKDYVideoPlayerStatusEnded, // 播放完成
  21 + GKDYVideoPlayerStatusError // 错误
  22 +};
  23 +
  24 +@class GKDYVideoPlayer;
  25 +
  26 +@protocol GKDYVideoPlayerDelegate <NSObject>
  27 +
  28 +- (void)player:(GKDYVideoPlayer *)player statusChanged:(GKDYVideoPlayerStatus)status;
  29 +
  30 +- (void)player:(GKDYVideoPlayer *)player currentTime:(float)currentTime totalTime:(float)totalTime progress:(float)progress;
  31 +
  32 +
  33 +- (void)startPlay: (UIView *)view url: (NSString *)url;
  34 +
  35 +- (void)pausePlayer;
  36 +
  37 +- (void)resumePlayer;
  38 +
  39 +- (void)stopPlayer;
  40 +
  41 +@end
  42 +
  43 +@interface GKDYVideoPlayer : NSObject
  44 +
  45 +@property (nonatomic, weak) id<GKDYVideoPlayerDelegate> delegate;
  46 +
  47 +@property (nonatomic, assign) GKDYVideoPlayerStatus status;
  48 +
  49 +@property (nonatomic, assign) BOOL isPlaying;
  50 +
  51 +
  52 +/**
  53 + 根据指定url在指定视图上播放视频
  54 +
  55 + @param playView 播放视图
  56 + @param url 播放地址
  57 + */
  58 +- (void)playVideoWith:(UIView *)playView url:(NSString *)url;
  59 +
  60 +/**
  61 + 停止播放并移除播放视图
  62 + */
  63 +- (void)removeVideo;
  64 +
  65 +/**
  66 + 暂停播放
  67 + */
  68 +- (void)pausePlay;
  69 +
  70 +/**
  71 + 恢复播放
  72 + */
  73 +- (void)resumePlay;
  74 +
  75 +/**
  76 + 重新播放
  77 + */
  78 +- (void)resetPlay;
  79 +
  80 +@end
  81 +
  82 +NS_ASSUME_NONNULL_END
  1 +//
  2 +// GKDYVideoView.h
  3 +// GKDYVideo
  4 +//
  5 +// Created by QuintGao on 2018/9/23.
  6 +// Copyright © 2018 QuintGao. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +#import "GKDYVideoControlView.h"
  11 +#import <NELivePlayerFramework/NELivePlayerController.h>
  12 +
  13 +NS_ASSUME_NONNULL_BEGIN
  14 +
  15 +#ifdef DEBUG
  16 +#define MYLog(FORMAT, ...) fprintf(stderr,"%s\n",[[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])
  17 +#else
  18 +#define MYLog(...)
  19 +#endif
  20 +
  21 +@class GKDYVideoView;
  22 +
  23 +@protocol GKDYVideoViewDelegate <NSObject>
  24 +
  25 +@optional
  26 +
  27 +- (void)videoView:(GKDYVideoView *)videoView didClickIcon:(ATRecord *)model;
  28 +- (void)videoView:(GKDYVideoView *)videoView didClickPraise:(ATRecord *)model;
  29 +- (void)videoView:(GKDYVideoView *)videoView didClickComment:(ATRecord *)model;
  30 +- (void)videoView:(GKDYVideoView *)videoView didClickShare:(ATRecord *)model;
  31 +- (void)videoView:(GKDYVideoView *)videoView didScrollIsCritical:(BOOL)isCritical;
  32 +- (void)videoView:(GKDYVideoView *)videoView didPanWithDistance:(CGFloat)distance isEnd:(BOOL)isEnd;
  33 +
  34 +- (void)loadMoreData:(NSInteger)index;
  35 +
  36 +- (void)indexChanged:(NSInteger)index;
  37 +
  38 +- (void)startPlay: (UIView *)view url: (NSString *)url next: (NSArray *)nextUrls;
  39 +
  40 +- (void)pausePlayer;
  41 +
  42 +- (void)resumePlayer;
  43 +
  44 +- (void)stopPlayer;
  45 +
  46 +- (void)dismissPlayer;
  47 +
  48 +- (void)removeVideo;
  49 +
  50 +@end
  51 +
  52 +@interface GKDYVideoView : UIView
  53 +
  54 +@property (nonatomic, weak) id<GKDYVideoViewDelegate> delegate;
  55 +
  56 +@property (nonatomic, strong) ATRecord *viewModel;
  57 +
  58 +@property (nonatomic, strong) UIButton *backBtn;
  59 +
  60 +// 当前播放内容的视图
  61 +@property (nonatomic, strong) GKDYVideoControlView *currentPlayView;
  62 +
  63 +// 当前播放内容的索引
  64 +@property (nonatomic, assign) NSInteger currentPlayIndex;
  65 +
  66 +@property (nonatomic, weak) NELivePlayerController *netPlayer;
  67 +
  68 +- (instancetype)initWithVC:(UIViewController *)vc isPushed:(BOOL)isPushed;
  69 +
  70 +- (void)setModels:(NSArray *)models index:(NSInteger)index;
  71 +
  72 +- (void)appendModels:(NSArray *)models;
  73 +
  74 +- (void)pause;
  75 +- (void)resume;
  76 +- (void)destoryPlayer;
  77 +
  78 +- (void)frontControl;
  79 +
  80 +@end
  81 +
  82 +NS_ASSUME_NONNULL_END
  1 +//
  2 +// GKDoubleLikeView.h
  3 +// GKDYVideo
  4 +//
  5 +// Created by gaokun on 2019/6/19.
  6 +// Copyright © 2019 QuintGao. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +@interface GKDoubleLikeView : NSObject
  14 +
  15 +- (void)createAnimationWithTouch:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event;
  16 +
  17 +@end
  18 +
  19 +NS_ASSUME_NONNULL_END
  1 +//
  2 +// GKLikeView.h
  3 +// GKDYVideo
  4 +//
  5 +// Created by gaokun on 2019/5/27.
  6 +// Copyright © 2019 QuintGao. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +@interface GKLikeView : UIView
  14 +
  15 +@property (nonatomic, assign) BOOL isLike;
  16 +
  17 +- (void)startAnimationWithIsLike:(BOOL)isLike;
  18 +
  19 +- (void)setupLikeState:(BOOL)isLike;
  20 +
  21 +- (void)setupLikeCount:(NSString *)count;
  22 +
  23 +@end
  24 +
  25 +NS_ASSUME_NONNULL_END
  1 +//
  2 +// GKLineLoadingView.h
  3 +// GKDYVideo
  4 +//
  5 +// Created by gaokun on 2019/5/7.
  6 +// Copyright © 2019 QuintGao. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +NS_ASSUME_NONNULL_BEGIN
  12 +
  13 +@interface GKLineLoadingView : UIView
  14 +
  15 ++ (void)showLoadingInView:(UIView *)view withLineHeight:(CGFloat)lineHeight;
  16 +
  17 ++ (void)hideLoadingInView:(UIView *)view;
  18 +
  19 +@end
  20 +
  21 +NS_ASSUME_NONNULL_END
  1 +//
  2 +// GKSliderView.h
  3 +// GKSliderView
  4 +//
  5 +// Created by QuintGao on 2017/9/6.
  6 +// Copyright © 2017年 高坤. All rights reserved.
  7 +// 自定义的一个slider
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +@protocol GKSliderViewDelegate <NSObject>
  12 +
  13 +@optional
  14 +// 滑块滑动开始
  15 +- (void)sliderTouchBegan:(float)value;
  16 +// 滑块滑动中
  17 +- (void)sliderValueChanged:(float)value;
  18 +// 滑块滑动结束
  19 +- (void)sliderTouchEnded:(float)value;
  20 +// 滑杆点击
  21 +- (void)sliderTapped:(float)value;
  22 +
  23 +@end
  24 +
  25 +@interface GKSliderView : UIView
  26 +
  27 +@property (nonatomic, weak) id<GKSliderViewDelegate> delegate;
  28 +
  29 +/** 默认滑杆的颜色 */
  30 +@property (nonatomic, strong) UIColor *maximumTrackTintColor;
  31 +/** 滑杆进度颜色 */
  32 +@property (nonatomic, strong) UIColor *minimumTrackTintColor;
  33 +/** 缓存进度颜色 */
  34 +@property (nonatomic, strong) UIColor *bufferTrackTintColor;
  35 +
  36 +/** 默认滑杆的图片 */
  37 +@property (nonatomic, strong) UIImage *maximumTrackImage;
  38 +/** 滑杆进度的图片 */
  39 +@property (nonatomic, strong) UIImage *minimumTrackImage;
  40 +/** 缓存进度的图片 */
  41 +@property (nonatomic, strong) UIImage *bufferTrackImage;
  42 +
  43 +/** 滑杆进度 */
  44 +@property (nonatomic, assign) float value;
  45 +/** 缓存进度 */
  46 +@property (nonatomic, assign) float bufferValue;
  47 +
  48 +/** 是否允许点击,默认是YES */
  49 +@property (nonatomic, assign) BOOL allowTapped;
  50 +/** 设置滑杆的高度 */
  51 +@property (nonatomic, assign) CGFloat sliderHeight;
  52 +
  53 +/** 是否隐藏滑块(默认为NO) */
  54 +@property (nonatomic, assign) BOOL isHideSliderBlock;
  55 +
  56 +// 设置滑块背景色
  57 +- (void)setBackgroundImage:(UIImage *)image forState:(UIControlState)state;
  58 +// 设置滑块图片
  59 +- (void)setThumbImage:(UIImage *)image forState:(UIControlState)state;
  60 +
  61 +// 显示菊花动画
  62 +- (void)showLoading;
  63 +// 隐藏菊花动画
  64 +- (void)hideLoading;
  65 +
  66 +- (void)showLineLoading;
  67 +- (void)hideLineLoading;
  68 +
  69 +@end
  70 +
  71 +@interface GKSliderButton : UIButton
  72 +
  73 +- (void)showActivityAnim;
  74 +- (void)hideActivityAnim;
  75 +
  76 +@end
  77 +
  78 +@interface UIView (GKFrame)
  79 +
  80 +@property (nonatomic, assign) CGFloat gk_top;
  81 +@property (nonatomic, assign) CGFloat gk_left;
  82 +@property (nonatomic, assign) CGFloat gk_right;
  83 +@property (nonatomic, assign) CGFloat gk_bottom;
  84 +@property (nonatomic, assign) CGFloat gk_width;
  85 +@property (nonatomic, assign) CGFloat gk_height;
  86 +@property (nonatomic, assign) CGFloat gk_centerX;
  87 +@property (nonatomic, assign) CGFloat gk_centerY;
  88 +
  89 +@end
  1 +//
  2 +// HHTextField.h
  3 +// HHDoctorSDK
  4 +//
  5 +// Created by Shi Jian on 2019/1/25.
  6 +//
  7 +
  8 +#import <UIKit/UIKit.h>
  9 +
  10 +NS_ASSUME_NONNULL_BEGIN
  11 +
  12 +@interface HHTextField : UITextField <UITextFieldDelegate>
  13 +
  14 +@property(nonatomic, assign) IBInspectable NSUInteger hhMaxLength;
  15 +
  16 +
  17 +@end
  18 +
  19 +NS_ASSUME_NONNULL_END
  1 +// Generated by Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
  2 +#ifndef LIBERATE_SWIFT_H
  3 +#define LIBERATE_SWIFT_H
  4 +#pragma clang diagnostic push
  5 +#pragma clang diagnostic ignored "-Wgcc-compat"
  6 +
  7 +#if !defined(__has_include)
  8 +# define __has_include(x) 0
  9 +#endif
  10 +#if !defined(__has_attribute)
  11 +# define __has_attribute(x) 0
  12 +#endif
  13 +#if !defined(__has_feature)
  14 +# define __has_feature(x) 0
  15 +#endif
  16 +#if !defined(__has_warning)
  17 +# define __has_warning(x) 0
  18 +#endif
  19 +
  20 +#if __has_include(<swift/objc-prologue.h>)
  21 +# include <swift/objc-prologue.h>
  22 +#endif
  23 +
  24 +#pragma clang diagnostic ignored "-Wauto-import"
  25 +#include <Foundation/Foundation.h>
  26 +#include <stdint.h>
  27 +#include <stddef.h>
  28 +#include <stdbool.h>
  29 +
  30 +#if !defined(SWIFT_TYPEDEFS)
  31 +# define SWIFT_TYPEDEFS 1
  32 +# if __has_include(<uchar.h>)
  33 +# include <uchar.h>
  34 +# elif !defined(__cplusplus)
  35 +typedef uint_least16_t char16_t;
  36 +typedef uint_least32_t char32_t;
  37 +# endif
  38 +typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
  39 +typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
  40 +typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
  41 +typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
  42 +typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
  43 +typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
  44 +typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
  45 +typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
  46 +typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
  47 +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
  48 +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
  49 +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
  50 +#endif
  51 +
  52 +#if !defined(SWIFT_PASTE)
  53 +# define SWIFT_PASTE_HELPER(x, y) x##y
  54 +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
  55 +#endif
  56 +#if !defined(SWIFT_METATYPE)
  57 +# define SWIFT_METATYPE(X) Class
  58 +#endif
  59 +#if !defined(SWIFT_CLASS_PROPERTY)
  60 +# if __has_feature(objc_class_property)
  61 +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
  62 +# else
  63 +# define SWIFT_CLASS_PROPERTY(...)
  64 +# endif
  65 +#endif
  66 +
  67 +#if __has_attribute(objc_runtime_name)
  68 +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
  69 +#else
  70 +# define SWIFT_RUNTIME_NAME(X)
  71 +#endif
  72 +#if __has_attribute(swift_name)
  73 +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
  74 +#else
  75 +# define SWIFT_COMPILE_NAME(X)
  76 +#endif
  77 +#if __has_attribute(objc_method_family)
  78 +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
  79 +#else
  80 +# define SWIFT_METHOD_FAMILY(X)
  81 +#endif
  82 +#if __has_attribute(noescape)
  83 +# define SWIFT_NOESCAPE __attribute__((noescape))
  84 +#else
  85 +# define SWIFT_NOESCAPE
  86 +#endif
  87 +#if __has_attribute(ns_consumed)
  88 +# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
  89 +#else
  90 +# define SWIFT_RELEASES_ARGUMENT
  91 +#endif
  92 +#if __has_attribute(warn_unused_result)
  93 +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  94 +#else
  95 +# define SWIFT_WARN_UNUSED_RESULT
  96 +#endif
  97 +#if __has_attribute(noreturn)
  98 +# define SWIFT_NORETURN __attribute__((noreturn))
  99 +#else
  100 +# define SWIFT_NORETURN
  101 +#endif
  102 +#if !defined(SWIFT_CLASS_EXTRA)
  103 +# define SWIFT_CLASS_EXTRA
  104 +#endif
  105 +#if !defined(SWIFT_PROTOCOL_EXTRA)
  106 +# define SWIFT_PROTOCOL_EXTRA
  107 +#endif
  108 +#if !defined(SWIFT_ENUM_EXTRA)
  109 +# define SWIFT_ENUM_EXTRA
  110 +#endif
  111 +#if !defined(SWIFT_CLASS)
  112 +# if __has_attribute(objc_subclassing_restricted)
  113 +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
  114 +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  115 +# else
  116 +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  117 +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
  118 +# endif
  119 +#endif
  120 +#if !defined(SWIFT_RESILIENT_CLASS)
  121 +# if __has_attribute(objc_class_stub)
  122 +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
  123 +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
  124 +# else
  125 +# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
  126 +# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
  127 +# endif
  128 +#endif
  129 +
  130 +#if !defined(SWIFT_PROTOCOL)
  131 +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  132 +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
  133 +#endif
  134 +
  135 +#if !defined(SWIFT_EXTENSION)
  136 +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
  137 +#endif
  138 +
  139 +#if !defined(OBJC_DESIGNATED_INITIALIZER)
  140 +# if __has_attribute(objc_designated_initializer)
  141 +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
  142 +# else
  143 +# define OBJC_DESIGNATED_INITIALIZER
  144 +# endif
  145 +#endif
  146 +#if !defined(SWIFT_ENUM_ATTR)
  147 +# if defined(__has_attribute) && __has_attribute(enum_extensibility)
  148 +# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
  149 +# else
  150 +# define SWIFT_ENUM_ATTR(_extensibility)
  151 +# endif
  152 +#endif
  153 +#if !defined(SWIFT_ENUM)
  154 +# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  155 +# if __has_feature(generalized_swift_name)
  156 +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
  157 +# else
  158 +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
  159 +# endif
  160 +#endif
  161 +#if !defined(SWIFT_UNAVAILABLE)
  162 +# define SWIFT_UNAVAILABLE __attribute__((unavailable))
  163 +#endif
  164 +#if !defined(SWIFT_UNAVAILABLE_MSG)
  165 +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
  166 +#endif
  167 +#if !defined(SWIFT_AVAILABILITY)
  168 +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
  169 +#endif
  170 +#if !defined(SWIFT_WEAK_IMPORT)
  171 +# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
  172 +#endif
  173 +#if !defined(SWIFT_DEPRECATED)
  174 +# define SWIFT_DEPRECATED __attribute__((deprecated))
  175 +#endif
  176 +#if !defined(SWIFT_DEPRECATED_MSG)
  177 +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
  178 +#endif
  179 +#if __has_feature(attribute_diagnose_if_objc)
  180 +# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
  181 +#else
  182 +# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
  183 +#endif
  184 +#if !defined(IBSegueAction)
  185 +# define IBSegueAction
  186 +#endif
  187 +#if __has_feature(modules)
  188 +#if __has_warning("-Watimport-in-framework-header")
  189 +#pragma clang diagnostic ignored "-Watimport-in-framework-header"
  190 +#endif
  191 +@import Foundation;
  192 +@import ObjectiveC;
  193 +#endif
  194 +
  195 +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
  196 +#pragma clang diagnostic ignored "-Wduplicate-method-arg"
  197 +#if __has_warning("-Wpragma-clang-attribute")
  198 +# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
  199 +#endif
  200 +#pragma clang diagnostic ignored "-Wunknown-pragmas"
  201 +#pragma clang diagnostic ignored "-Wnullability"
  202 +
  203 +#if __has_attribute(external_source_symbol)
  204 +# pragma push_macro("any")
  205 +# undef any
  206 +# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="liberate",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
  207 +# pragma pop_macro("any")
  208 +#endif
  209 +
  210 +@class NSNumber;
  211 +@class NSString;
  212 +
  213 +SWIFT_CLASS("_TtC8liberate8ATRecord")
  214 +@interface ATRecord : NSObject
  215 +@property (nonatomic, strong) NSNumber * _Nullable id;
  216 +@property (nonatomic, copy) NSString * _Nullable videoLength;
  217 +@property (nonatomic, copy) NSString * _Nullable firstFrameImage;
  218 +@property (nonatomic, copy) NSString * _Nullable subTitle;
  219 +@property (nonatomic, copy) NSString * _Nullable title;
  220 +@property (nonatomic, copy) NSString * _Nullable imageUrl;
  221 +@property (nonatomic, copy) NSString * _Nullable videoUrl;
  222 +@property (nonatomic, strong) NSNumber * _Nullable recrodId;
  223 +@property (nonatomic, strong) NSNumber * _Nullable viewerNum;
  224 +@property (nonatomic, strong) NSNumber * _Nullable isFree;
  225 +- (nonnull instancetype)init SWIFT_UNAVAILABLE;
  226 ++ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
  227 +@end
  228 +
  229 +
  230 +
  231 +SWIFT_PROTOCOL("_TtP8liberate14HHPayMedicable_")
  232 +@protocol HHPayMedicable
  233 +- (BOOL)payInterceptor:(NSString * _Nonnull)url scheme:(NSString * _Nonnull)scheme callback:(void (^ _Nonnull)(NSDictionary * _Nullable))callback SWIFT_WARN_UNUSED_RESULT;
  234 +@end
  235 +
  236 +
  237 +
  238 +
  239 +
  240 +#if __has_attribute(external_source_symbol)
  241 +# pragma clang attribute pop
  242 +#endif
  243 +#pragma clang diagnostic pop
  244 +#endif
  1 +#ifdef __OBJC__
  2 +#import <UIKit/UIKit.h>
  3 +#else
  4 +#ifndef FOUNDATION_EXPORT
  5 +#if defined(__cplusplus)
  6 +#define FOUNDATION_EXPORT extern "C"
  7 +#else
  8 +#define FOUNDATION_EXPORT extern
  9 +#endif
  10 +#endif
  11 +#endif
  12 +
  13 +#import "HHTextField.h"
  14 +#import "GKDoubleLikeView.h"
  15 +#import "GKDYPanGestureRecognizer.h"
  16 +#import "GKDYVideoControlView.h"
  17 +#import "GKDYVideoPlayer.h"
  18 +#import "GKDYVideoView.h"
  19 +#import "GKLikeView.h"
  20 +#import "GKLineLoadingView.h"
  21 +#import "GKSliderView.h"
  22 +#import "FSPagerViewObjcCompat.h"
  23 +
  24 +FOUNDATION_EXPORT double liberateVersionNumber;
  25 +FOUNDATION_EXPORT const unsigned char liberateVersionString[];
  26 +
No preview for this file type
  1 +// swift-interface-format-version: 1.0
  2 +// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
  3 +// swift-module-flags: -target arm64-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name liberate
  4 +import CoreLocation
  5 +import Foundation
  6 +import HHSDKVideo
  7 +import MJRefresh
  8 +import NELivePlayerFramework
  9 +import SnapKit
  10 +import Swift
  11 +import UIKit
  12 +import WebKit
  13 +import hhVDoctorSDK
  14 +@_exported import liberate
  15 +@_hasMissingDesignatedInitializers public class HHLiberate {
  16 + public static let `default`: liberate.HHLiberate
  17 + public static func rescue(_ navi: UIKit.UINavigationController)
  18 + public static func callDcotor(_ navi: UIKit.UINavigationController, userExt: Swift.String)
  19 + public static func setUserExtension(userExtension: Swift.String)
  20 + @objc deinit
  21 +}
  22 +extension HHLiberate {
  23 + public static func canHandle(_ url: Foundation.URL) -> Swift.Bool
  24 + public static func handle(url: Foundation.URL) -> Swift.Bool
  25 +}
  26 +@objc public class ATRecord : ObjectiveC.NSObject, HHSDKVideo.Mappable {
  27 + @objc public var id: Foundation.NSNumber?
  28 + @objc public var videoLength: Swift.String?
  29 + @objc public var firstFrameImage: Swift.String?
  30 + @objc public var subTitle: Swift.String?
  31 + @objc public var title: Swift.String?
  32 + @objc public var imageUrl: Swift.String?
  33 + @objc public var videoUrl: Swift.String?
  34 + @objc public var recrodId: Foundation.NSNumber?
  35 + @objc public var viewerNum: Foundation.NSNumber?
  36 + @objc public var isFree: Foundation.NSNumber?
  37 + required public init?(map: HHSDKVideo.Map)
  38 + public func mapping(map: HHSDKVideo.Map)
  39 + @objc override dynamic public init()
  40 + @objc deinit
  41 +}
  42 +@objc public protocol HHPayMedicable {
  43 + @objc func payInterceptor(_ url: Swift.String, scheme: Swift.String, callback: @escaping (([Swift.AnyHashable : Any]?) -> Swift.Void)) -> Swift.Bool
  44 +}
  1 +// swift-interface-format-version: 1.0
  2 +// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
  3 +// swift-module-flags: -target arm64-apple-ios9.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name liberate
  4 +import CoreLocation
  5 +import Foundation
  6 +import HHSDKVideo
  7 +import MJRefresh
  8 +import NELivePlayerFramework
  9 +import SnapKit
  10 +import Swift
  11 +import UIKit
  12 +import WebKit
  13 +import hhVDoctorSDK
  14 +@_exported import liberate
  15 +@_hasMissingDesignatedInitializers public class HHLiberate {
  16 + public static let `default`: liberate.HHLiberate
  17 + public static func rescue(_ navi: UIKit.UINavigationController)
  18 + public static func callDcotor(_ navi: UIKit.UINavigationController, userExt: Swift.String)
  19 + public static func setUserExtension(userExtension: Swift.String)
  20 + @objc deinit
  21 +}
  22 +extension HHLiberate {
  23 + public static func canHandle(_ url: Foundation.URL) -> Swift.Bool
  24 + public static func handle(url: Foundation.URL) -> Swift.Bool
  25 +}
  26 +@objc public class ATRecord : ObjectiveC.NSObject, HHSDKVideo.Mappable {
  27 + @objc public var id: Foundation.NSNumber?
  28 + @objc public var videoLength: Swift.String?
  29 + @objc public var firstFrameImage: Swift.String?
  30 + @objc public var subTitle: Swift.String?
  31 + @objc public var title: Swift.String?
  32 + @objc public var imageUrl: Swift.String?
  33 + @objc public var videoUrl: Swift.String?
  34 + @objc public var recrodId: Foundation.NSNumber?
  35 + @objc public var viewerNum: Foundation.NSNumber?
  36 + @objc public var isFree: Foundation.NSNumber?
  37 + required public init?(map: HHSDKVideo.Map)
  38 + public func mapping(map: HHSDKVideo.Map)
  39 + @objc override dynamic public init()
  40 + @objc deinit
  41 +}
  42 +@objc public protocol HHPayMedicable {
  43 + @objc func payInterceptor(_ url: Swift.String, scheme: Swift.String, callback: @escaping (([Swift.AnyHashable : Any]?) -> Swift.Void)) -> Swift.Bool
  44 +}
  1 +// swift-interface-format-version: 1.0
  2 +// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
  3 +// swift-module-flags: -target x86_64-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name liberate
  4 +import CoreLocation
  5 +import Foundation
  6 +import HHSDKVideo
  7 +import MJRefresh
  8 +import NELivePlayerFramework
  9 +import SnapKit
  10 +import Swift
  11 +import UIKit
  12 +import WebKit
  13 +import hhVDoctorSDK
  14 +@_exported import liberate
  15 +@_hasMissingDesignatedInitializers public class HHLiberate {
  16 + public static let `default`: liberate.HHLiberate
  17 + public static func rescue(_ navi: UIKit.UINavigationController)
  18 + public static func callDcotor(_ navi: UIKit.UINavigationController, userExt: Swift.String)
  19 + public static func setUserExtension(userExtension: Swift.String)
  20 + @objc deinit
  21 +}
  22 +extension HHLiberate {
  23 + public static func canHandle(_ url: Foundation.URL) -> Swift.Bool
  24 + public static func handle(url: Foundation.URL) -> Swift.Bool
  25 +}
  26 +@objc public class ATRecord : ObjectiveC.NSObject, HHSDKVideo.Mappable {
  27 + @objc public var id: Foundation.NSNumber?
  28 + @objc public var videoLength: Swift.String?
  29 + @objc public var firstFrameImage: Swift.String?
  30 + @objc public var subTitle: Swift.String?
  31 + @objc public var title: Swift.String?
  32 + @objc public var imageUrl: Swift.String?
  33 + @objc public var videoUrl: Swift.String?
  34 + @objc public var recrodId: Foundation.NSNumber?
  35 + @objc public var viewerNum: Foundation.NSNumber?
  36 + @objc public var isFree: Foundation.NSNumber?
  37 + required public init?(map: HHSDKVideo.Map)
  38 + public func mapping(map: HHSDKVideo.Map)
  39 + @objc override dynamic public init()
  40 + @objc deinit
  41 +}
  42 +@objc public protocol HHPayMedicable {
  43 + @objc func payInterceptor(_ url: Swift.String, scheme: Swift.String, callback: @escaping (([Swift.AnyHashable : Any]?) -> Swift.Void)) -> Swift.Bool
  44 +}
  1 +// swift-interface-format-version: 1.0
  2 +// swift-compiler-version: Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
  3 +// swift-module-flags: -target x86_64-apple-ios9.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name liberate
  4 +import CoreLocation
  5 +import Foundation
  6 +import HHSDKVideo
  7 +import MJRefresh
  8 +import NELivePlayerFramework
  9 +import SnapKit
  10 +import Swift
  11 +import UIKit
  12 +import WebKit
  13 +import hhVDoctorSDK
  14 +@_exported import liberate
  15 +@_hasMissingDesignatedInitializers public class HHLiberate {
  16 + public static let `default`: liberate.HHLiberate
  17 + public static func rescue(_ navi: UIKit.UINavigationController)
  18 + public static func callDcotor(_ navi: UIKit.UINavigationController, userExt: Swift.String)
  19 + public static func setUserExtension(userExtension: Swift.String)
  20 + @objc deinit
  21 +}
  22 +extension HHLiberate {
  23 + public static func canHandle(_ url: Foundation.URL) -> Swift.Bool
  24 + public static func handle(url: Foundation.URL) -> Swift.Bool
  25 +}
  26 +@objc public class ATRecord : ObjectiveC.NSObject, HHSDKVideo.Mappable {
  27 + @objc public var id: Foundation.NSNumber?
  28 + @objc public var videoLength: Swift.String?
  29 + @objc public var firstFrameImage: Swift.String?
  30 + @objc public var subTitle: Swift.String?
  31 + @objc public var title: Swift.String?
  32 + @objc public var imageUrl: Swift.String?
  33 + @objc public var videoUrl: Swift.String?
  34 + @objc public var recrodId: Foundation.NSNumber?
  35 + @objc public var viewerNum: Foundation.NSNumber?
  36 + @objc public var isFree: Foundation.NSNumber?
  37 + required public init?(map: HHSDKVideo.Map)
  38 + public func mapping(map: HHSDKVideo.Map)
  39 + @objc override dynamic public init()
  40 + @objc deinit
  41 +}
  42 +@objc public protocol HHPayMedicable {
  43 + @objc func payInterceptor(_ url: Swift.String, scheme: Swift.String, callback: @escaping (([Swift.AnyHashable : Any]?) -> Swift.Void)) -> Swift.Bool
  44 +}
  1 +framework module liberate {
  2 + umbrella header "liberate-umbrella.h"
  3 +
  4 + export *
  5 + module * { export * }
  6 +}
  7 +
  8 +module liberate.Swift {
  9 + header "liberate-Swift.h"
  10 + requires objc
  11 +}
No preview for this file type