Skip to content

Commit

Permalink
1.23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-banuba committed Sep 15, 2022
1 parent 0ad2fef commit 56a00ea
Show file tree
Hide file tree
Showing 23 changed files with 118 additions and 534 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ SWIFT_PROTOCOL("_TtP15BanubaUtilities28AlbumsViewControllerDelegate_")

SWIFT_CLASS("_TtC15BanubaUtilities19AlertViewController")
@interface AlertViewController : UIViewController
@property (nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle;
- (void)viewWillAppear:(BOOL)animated;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
Expand Down Expand Up @@ -332,7 +331,6 @@ SWIFT_CLASS("_TtC15BanubaUtilities23BackgroundConfiguration")

@class AVURLAsset;
enum GalleryItemType : NSInteger;
@class AVPlayerItem;

SWIFT_PROTOCOL("_TtP15BanubaUtilities11GalleryItem_")
@protocol GalleryItem <NSObject>
Expand All @@ -345,13 +343,11 @@ SWIFT_PROTOCOL("_TtP15BanubaUtilities11GalleryItem_")
/// Type can be video, photo or unknown
@property (nonatomic, readonly) enum GalleryItemType type;
/// Requests preview for displaying in gallery list
- (void)requestPreviewWithSize:(CGSize)size synchronously:(BOOL)synchronously handler:(void (^ _Nonnull)(UIImage * _Nullable))handler;
- (void)requestPreviewWithSize:(CGSize)size handler:(void (^ _Nonnull)(UIImage * _Nullable))handler;
/// Requests photo with desired size
- (void)requestPhotoWithSize:(CGSize)size progressHandler:(BOOL (^ _Nullable)(double))progressHandler handler:(void (^ _Nonnull)(UIImage * _Nullable, NSError * _Nullable))handler;
/// Requests video url asset
- (void)requestAVURLAssetWithProgressHandler:(BOOL (^ _Nullable)(double))progressHandler handler:(void (^ _Nonnull)(AVURLAsset * _Nullable, NSError * _Nullable))handler;
/// Requests video player item
- (void)requestAVPlayerItemWithProgressHandler:(BOOL (^ _Nullable)(double))progressHandler handler:(void (^ _Nonnull)(AVPlayerItem * _Nullable, NSError * _Nullable))handler;
@end


Expand All @@ -362,8 +358,7 @@ SWIFT_CLASS("_TtC15BanubaUtilities17BanubaGalleryItem")
@property (nonatomic, readonly, strong) AVURLAsset * _Nullable urlAsset;
@property (nonatomic, readonly) enum GalleryItemType type;
- (void)requestAVURLAssetWithProgressHandler:(BOOL (^ _Nullable)(double))progressHandler handler:(void (^ _Nonnull)(AVURLAsset * _Nullable, NSError * _Nullable))handler;
- (void)requestAVPlayerItemWithProgressHandler:(BOOL (^ _Nullable)(double))progressHandler handler:(void (^ _Nonnull)(AVPlayerItem * _Nullable, NSError * _Nullable))handler;
- (void)requestPreviewWithSize:(CGSize)size synchronously:(BOOL)synchronously handler:(void (^ _Nonnull)(UIImage * _Nullable))handler;
- (void)requestPreviewWithSize:(CGSize)size handler:(void (^ _Nonnull)(UIImage * _Nullable))handler;
- (void)requestPhotoWithSize:(CGSize)size progressHandler:(BOOL (^ _Nullable)(double))progressHandler handler:(void (^ _Nonnull)(UIImage * _Nullable, NSError * _Nullable))handler;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
Expand Down Expand Up @@ -449,6 +444,8 @@ SWIFT_PROTOCOL("_TtP15BanubaUtilities29GalleryViewControllerDelegate_")
/// Tells delegate object that he should present message.
/// In BanubaVideoEditorSDK it presents popup message.
- (void)galleryViewController:(GalleryViewController * _Nonnull)controller presentMessage:(NSString * _Nonnull)message;
/// Tells delegate object about the opening Drafts
- (void)galleryViewControllerDidTapDrafts:(GalleryViewController * _Nonnull)controller;
@end


Expand All @@ -473,24 +470,11 @@ SWIFT_CLASS("_TtCC15BanubaUtilities35SmallActivityIndicatorConfiguration12Gradie
+ (GradientType * _Nonnull)image:(id <ImageConfigurationProtocol> _Nonnull)image SWIFT_WARN_UNUSED_RESULT;
@end

@class UIColor;

/// The image configuration
SWIFT_PROTOCOL("_TtP15BanubaUtilities26ImageConfigurationProtocol_")
@protocol ImageConfigurationProtocol
@property (nonatomic, readonly, strong) UIImage * _Nullable image;
@property (nonatomic, readonly, strong) UIColor * _Nullable tintColor;
@end



SWIFT_CLASS("_TtC15BanubaUtilities26PopoverAlertViewController")
@interface PopoverAlertViewController : UIViewController
- (void)viewDidLoad;
- (void)viewWillAppear:(BOOL)animated;
- (void)viewWillLayoutSubviews;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil OBJC_DESIGNATED_INITIALIZER;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end


Expand Down Expand Up @@ -587,7 +571,6 @@ SWIFT_PROTOCOL("_TtP15BanubaUtilities26TimeLineDataSourceDelegate_")




SWIFT_CLASS("_TtC15BanubaUtilities28VideoEditorActivityIndicator")
@interface VideoEditorActivityIndicator : UIView
@property (nonatomic) CGRect bounds;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 56a00ea

Please sign in to comment.