Skip to content

Commit

Permalink
1.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-banuba committed Sep 30, 2022
1 parent 56a00ea commit 24fc248
Show file tree
Hide file tree
Showing 36 changed files with 231,236 additions and 640 deletions.
10 changes: 5 additions & 5 deletions BanubaUtilities.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>BanubaUtilities.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>BanubaUtilities.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50)
#ifndef BANUBAUTILITIES_SWIFT_H
#define BANUBAUTILITIES_SWIFT_H
#pragma clang diagnostic push
Expand All @@ -21,11 +23,20 @@
# include <swift/objc-prologue.h>
#endif

#pragma clang diagnostic ignored "-Wduplicate-method-match"
#pragma clang diagnostic ignored "-Wauto-import"
#if defined(__OBJC__)
#include <Foundation/Foundation.h>
#endif
#if defined(__cplusplus)
#include <cstdint>
#include <cstddef>
#include <cstdbool>
#else
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#endif

#if !defined(SWIFT_TYPEDEFS)
# define SWIFT_TYPEDEFS 1
Expand Down Expand Up @@ -181,36 +192,62 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
#else
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
#endif
#if defined(__OBJC__)
#if !defined(IBSegueAction)
# define IBSegueAction
#endif
#endif
#if !defined(SWIFT_EXTERN)
# if defined(__cplusplus)
# define SWIFT_EXTERN extern "C"
# else
# define SWIFT_EXTERN extern
# endif
#endif
#if !defined(SWIFT_CALL)
# define SWIFT_CALL __attribute__((swiftcall))
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT noexcept
#endif
#else
#if !defined(SWIFT_NOEXCEPT)
# define SWIFT_NOEXCEPT
#endif
#endif
#if defined(__cplusplus)
#if !defined(SWIFT_CXX_INT_DEFINED)
#define SWIFT_CXX_INT_DEFINED
namespace swift {
using Int = ptrdiff_t;
using UInt = size_t;
}
#endif
#endif
#if defined(__OBJC__)
#if __has_feature(modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import AVFAudio;
@import CoreGraphics;
@import CoreFoundation;
@import CoreMedia;
@import Foundation;
@import ObjectiveC;
@import Photos;
@import UIKit;
#endif

#endif
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
#if __has_warning("-Wpragma-clang-attribute")
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
#endif
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"

#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
Expand All @@ -219,6 +256,8 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
# pragma pop_macro("any")
#endif

#if defined(__OBJC__)

@class NSString;
@class UIImage;
@class PHAssetCollection;
Expand Down Expand Up @@ -272,6 +311,7 @@ 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 @@ -331,6 +371,7 @@ SWIFT_CLASS("_TtC15BanubaUtilities23BackgroundConfiguration")

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

SWIFT_PROTOCOL("_TtP15BanubaUtilities11GalleryItem_")
@protocol GalleryItem <NSObject>
Expand All @@ -343,11 +384,13 @@ 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 handler:(void (^ _Nonnull)(UIImage * _Nullable))handler;
- (void)requestPreviewWithSize:(CGSize)size synchronously:(BOOL)synchronously 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 @@ -358,7 +401,8 @@ 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)requestPreviewWithSize:(CGSize)size handler:(void (^ _Nonnull)(UIImage * _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)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 @@ -429,23 +473,22 @@ SWIFT_CLASS("_TtC15BanubaUtilities21GalleryViewController")
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder OBJC_DESIGNATED_INITIALIZER;
@end

@class ProgressHandler;

SWIFT_PROTOCOL("_TtP15BanubaUtilities29GalleryViewControllerDelegate_")
@protocol GalleryViewControllerDelegate
/// Tells delegate object about starting asynchronous operations at the gallery.
/// BanubaVideoEditorSDK showing full-screen spinner by this event. It can help to prevent unnecessary actions from a user.
- (void)galleryViewControllerDidStartExport:(GalleryViewController * _Nonnull)controller;
- (void)galleryViewController:(GalleryViewController * _Nonnull)controller didStartExportWith:(ProgressHandler * _Nonnull)progressHandler;
/// Tells delegate object about finishing asynchronous operations at the gallery
- (void)galleryViewControllerDidEndExport:(GalleryViewController * _Nonnull)controller;
- (void)galleryViewController:(GalleryViewController * _Nonnull)controller didEndExportWith:(NSError * _Nullable)error hideProgressViewCompletion:(void (^ _Nonnull)(void))hideProgressViewCompletion;
/// Tells delegate object about the closing gallery.
- (void)galleryViewControllerDidClose:(GalleryViewController * _Nonnull)controller;
/// Tells delegate object about completion picking gallery items.
- (void)galleryViewControllerDone:(GalleryViewController * _Nonnull)controller withGalleryItems:(NSArray<id <GalleryItem>> * _Nonnull)items;
/// 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 @@ -470,14 +513,34 @@ 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



/// Gallery exporting progress handler object
SWIFT_CLASS("_TtC15BanubaUtilities15ProgressHandler")
@interface ProgressHandler : NSObject
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

@class UIPresentationController;
@protocol UIViewControllerAnimatedTransitioning;
@protocol UIViewControllerInteractiveTransitioning;
Expand Down Expand Up @@ -507,6 +570,15 @@ typedef SWIFT_ENUM(NSInteger, GradientTypeAdapter, open) {
};


SWIFT_CLASS("_TtCC15BanubaUtilities35SmallActivityIndicatorConfiguration23ImageConfigurationModel")
@interface ImageConfigurationModel : NSObject <ImageConfigurationProtocol>
@property (nonatomic, strong) UIImage * _Nullable image;
@property (nonatomic, strong) UIColor * _Nullable tintColor;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end



/// The gradient configuration.
SWIFT_CLASS("_TtCC15BanubaUtilities35SmallActivityIndicatorConfiguration26GradientColorConfiguration")
Expand Down Expand Up @@ -571,6 +643,12 @@ SWIFT_PROTOCOL("_TtP15BanubaUtilities26TimeLineDataSourceDelegate_")









SWIFT_CLASS("_TtC15BanubaUtilities28VideoEditorActivityIndicator")
@interface VideoEditorActivityIndicator : UIView
@property (nonatomic) CGRect bounds;
Expand Down Expand Up @@ -610,8 +688,15 @@ SWIFT_CLASS("_TtC15BanubaUtilities34VideoTimeLineCollectionViewHandler")
- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
@end

#endif
#if defined(__cplusplus)
#endif
#if __has_attribute(external_source_symbol)
# pragma clang attribute pop
#endif
#pragma clang diagnostic pop
#endif

#else
#error unsupported Swift architecture
#endif
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 24fc248

Please sign in to comment.