diff --git a/GiphyUISDK.xcframework/Info.plist b/GiphyUISDK.xcframework/Info.plist index cbce340d..6a60b4d4 100644 --- a/GiphyUISDK.xcframework/Info.plist +++ b/GiphyUISDK.xcframework/Info.plist @@ -6,19 +6,16 @@ LibraryIdentifier - ios-arm64_i386_x86_64-simulator + ios-arm64_armv7 LibraryPath GiphyUISDK.framework SupportedArchitectures arm64 - i386 - x86_64 + armv7 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier @@ -37,16 +34,19 @@ LibraryIdentifier - ios-arm64_armv7 + ios-arm64_i386_x86_64-simulator LibraryPath GiphyUISDK.framework SupportedArchitectures arm64 - armv7 + i386 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/GiphyUISDK b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/GiphyUISDK index 79130c5e..6339a0bc 100755 Binary files a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/GiphyUISDK and b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/GiphyUISDK differ diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Headers/GiphyUISDK-Swift.h b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Headers/GiphyUISDK-Swift.h index 149564b9..7005bad6 100644 --- a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Headers/GiphyUISDK-Swift.h +++ b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Headers/GiphyUISDK-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) #ifndef GIPHYUISDK_SWIFT_H #define GIPHYUISDK_SWIFT_H #pragma clang diagnostic push @@ -262,6 +262,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) { GPHActionTypeSent = 3, GPHActionTypeFavorite = 4, GPHActionTypeStart = 5, + GPHActionTypeLongpress = 6, }; @@ -1019,18 +1020,9 @@ SWIFT_CLASS("_TtC10GiphyUISDK12GPHMediaCell") @interface GPHMediaCell : UICollectionViewCell - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -@property (nonatomic, readonly) BOOL canBecomeFirstResponder; -- (BOOL)canPerformAction:(SEL _Nonnull)action withSender:(id _Nullable)sender SWIFT_WARN_UNUSED_RESULT; - (void)prepareForReuse; @end -@class UIContextMenuInteraction; -@class UIContextMenuConfiguration; - -@interface GPHMediaCell (SWIFT_EXTENSION(GiphyUISDK)) -- (UIContextMenuConfiguration * _Nullable)contextMenuInteraction:(UIContextMenuInteraction * _Nonnull)interaction configurationForMenuAtLocation:(CGPoint)location SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); -@end - /// Represents a Giphy Media Response (single result) SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse") @@ -1563,6 +1555,12 @@ SWIFT_CLASS("_TtC10GiphyUISDK14GPHVideoAssets") @end +typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerContext, open) { + GPHVideoPlayerContextDetail = 0, + GPHVideoPlayerContextPreview = 1, + GPHVideoPlayerContextChat = 2, +}; + typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerState, open) { GPHVideoPlayerStateUnknown = 0, GPHVideoPlayerStateReadyToPlay = 1, @@ -1735,11 +1733,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") -@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; -@end - - @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; - (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; @@ -1752,6 +1745,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") - (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT; @end +@class UIContextMenuConfiguration; + +@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) +- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// ////////////////// PREVIEW STUFF::::::: +- (UIContextMenuConfiguration * _Nullable)collectionView:(UICollectionView * _Nonnull)collectionView contextMenuConfigurationForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath point:(CGPoint)point SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); +@end + @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; @@ -1803,13 +1804,13 @@ SWIFT_CLASS("_TtC10GiphyUISDK21GiphySearchController") @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; +- (void)didTapUsername:(NSString * _Nonnull)username; +- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; @end @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)didTapUsername:(NSString * _Nonnull)username; -- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; +- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; @end @@ -1906,7 +1907,7 @@ SWIFT_CLASS("_TtC10GiphyUISDK23PingbackSubmissionQueue") #endif #elif defined(__ARM_ARCH_7A__) && __ARM_ARCH_7A__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) #ifndef GIPHYUISDK_SWIFT_H #define GIPHYUISDK_SWIFT_H #pragma clang diagnostic push @@ -2168,6 +2169,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) { GPHActionTypeSent = 3, GPHActionTypeFavorite = 4, GPHActionTypeStart = 5, + GPHActionTypeLongpress = 6, }; @@ -2925,18 +2927,9 @@ SWIFT_CLASS("_TtC10GiphyUISDK12GPHMediaCell") @interface GPHMediaCell : UICollectionViewCell - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -@property (nonatomic, readonly) BOOL canBecomeFirstResponder; -- (BOOL)canPerformAction:(SEL _Nonnull)action withSender:(id _Nullable)sender SWIFT_WARN_UNUSED_RESULT; - (void)prepareForReuse; @end -@class UIContextMenuInteraction; -@class UIContextMenuConfiguration; - -@interface GPHMediaCell (SWIFT_EXTENSION(GiphyUISDK)) -- (UIContextMenuConfiguration * _Nullable)contextMenuInteraction:(UIContextMenuInteraction * _Nonnull)interaction configurationForMenuAtLocation:(CGPoint)location SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); -@end - /// Represents a Giphy Media Response (single result) SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse") @@ -3469,6 +3462,12 @@ SWIFT_CLASS("_TtC10GiphyUISDK14GPHVideoAssets") @end +typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerContext, open) { + GPHVideoPlayerContextDetail = 0, + GPHVideoPlayerContextPreview = 1, + GPHVideoPlayerContextChat = 2, +}; + typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerState, open) { GPHVideoPlayerStateUnknown = 0, GPHVideoPlayerStateReadyToPlay = 1, @@ -3641,11 +3640,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") -@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; -@end - - @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; - (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; @@ -3658,6 +3652,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") - (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT; @end +@class UIContextMenuConfiguration; + +@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) +- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// ////////////////// PREVIEW STUFF::::::: +- (UIContextMenuConfiguration * _Nullable)collectionView:(UICollectionView * _Nonnull)collectionView contextMenuConfigurationForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath point:(CGPoint)point SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); +@end + @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; @@ -3709,13 +3711,13 @@ SWIFT_CLASS("_TtC10GiphyUISDK21GiphySearchController") @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; +- (void)didTapUsername:(NSString * _Nonnull)username; +- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; @end @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)didTapUsername:(NSString * _Nonnull)username; -- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; +- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; @end diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Info.plist b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Info.plist index 7247cf62..0df8e1b0 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Info.plist and b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Info.plist differ diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm.swiftdoc index b1605b0a..b2037e98 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm.swiftinterface index 39189b9b..30a871b8 100644 --- a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios.swiftdoc index d58780af..a800d885 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios.swiftinterface index c183e0f2..e5cef1d1 100644 --- a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc index d58780af..a800d885 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface index c183e0f2..e5cef1d1 100644 --- a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target arm64-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7-apple-ios.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7-apple-ios.swiftdoc index b1605b0a..b2037e98 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7-apple-ios.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7-apple-ios.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7-apple-ios.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7-apple-ios.swiftinterface index 39189b9b..30a871b8 100644 --- a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7-apple-ios.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7-apple-ios.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7.swiftdoc index b1605b0a..b2037e98 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7.swiftinterface index 39189b9b..30a871b8 100644 --- a/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_armv7/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/armv7.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target armv7-apple-ios10.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/GiphyUISDK b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/GiphyUISDK index 881a5bfc..29948454 100755 Binary files a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/GiphyUISDK and b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/GiphyUISDK differ diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Headers/GiphyUISDK-Swift.h b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Headers/GiphyUISDK-Swift.h index d150d3ee..c822f5f2 100644 --- a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Headers/GiphyUISDK-Swift.h +++ b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Headers/GiphyUISDK-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) #ifndef GIPHYUISDK_SWIFT_H #define GIPHYUISDK_SWIFT_H #pragma clang diagnostic push @@ -262,6 +262,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) { GPHActionTypeSent = 3, GPHActionTypeFavorite = 4, GPHActionTypeStart = 5, + GPHActionTypeLongpress = 6, }; @@ -1019,18 +1020,9 @@ SWIFT_CLASS("_TtC10GiphyUISDK12GPHMediaCell") @interface GPHMediaCell : UICollectionViewCell - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -@property (nonatomic, readonly) BOOL canBecomeFirstResponder; -- (BOOL)canPerformAction:(SEL _Nonnull)action withSender:(id _Nullable)sender SWIFT_WARN_UNUSED_RESULT; - (void)prepareForReuse; @end -@class UIContextMenuInteraction; -@class UIContextMenuConfiguration; - -@interface GPHMediaCell (SWIFT_EXTENSION(GiphyUISDK)) -- (UIContextMenuConfiguration * _Nullable)contextMenuInteraction:(UIContextMenuInteraction * _Nonnull)interaction configurationForMenuAtLocation:(CGPoint)location SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); -@end - /// Represents a Giphy Media Response (single result) SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse") @@ -1563,6 +1555,12 @@ SWIFT_CLASS("_TtC10GiphyUISDK14GPHVideoAssets") @end +typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerContext, open) { + GPHVideoPlayerContextDetail = 0, + GPHVideoPlayerContextPreview = 1, + GPHVideoPlayerContextChat = 2, +}; + typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerState, open) { GPHVideoPlayerStateUnknown = 0, GPHVideoPlayerStateReadyToPlay = 1, @@ -1735,11 +1733,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") -@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; -@end - - @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; - (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; @@ -1752,6 +1745,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") - (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT; @end +@class UIContextMenuConfiguration; + +@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) +- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// ////////////////// PREVIEW STUFF::::::: +- (UIContextMenuConfiguration * _Nullable)collectionView:(UICollectionView * _Nonnull)collectionView contextMenuConfigurationForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath point:(CGPoint)point SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); +@end + @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; @@ -1803,13 +1804,13 @@ SWIFT_CLASS("_TtC10GiphyUISDK21GiphySearchController") @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; +- (void)didTapUsername:(NSString * _Nonnull)username; +- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; @end @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)didTapUsername:(NSString * _Nonnull)username; -- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; +- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; @end @@ -1906,7 +1907,7 @@ SWIFT_CLASS("_TtC10GiphyUISDK23PingbackSubmissionQueue") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) #ifndef GIPHYUISDK_SWIFT_H #define GIPHYUISDK_SWIFT_H #pragma clang diagnostic push @@ -2168,6 +2169,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) { GPHActionTypeSent = 3, GPHActionTypeFavorite = 4, GPHActionTypeStart = 5, + GPHActionTypeLongpress = 6, }; @@ -2925,18 +2927,9 @@ SWIFT_CLASS("_TtC10GiphyUISDK12GPHMediaCell") @interface GPHMediaCell : UICollectionViewCell - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -@property (nonatomic, readonly) BOOL canBecomeFirstResponder; -- (BOOL)canPerformAction:(SEL _Nonnull)action withSender:(id _Nullable)sender SWIFT_WARN_UNUSED_RESULT; - (void)prepareForReuse; @end -@class UIContextMenuInteraction; -@class UIContextMenuConfiguration; - -@interface GPHMediaCell (SWIFT_EXTENSION(GiphyUISDK)) -- (UIContextMenuConfiguration * _Nullable)contextMenuInteraction:(UIContextMenuInteraction * _Nonnull)interaction configurationForMenuAtLocation:(CGPoint)location SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); -@end - /// Represents a Giphy Media Response (single result) SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse") @@ -3469,6 +3462,12 @@ SWIFT_CLASS("_TtC10GiphyUISDK14GPHVideoAssets") @end +typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerContext, open) { + GPHVideoPlayerContextDetail = 0, + GPHVideoPlayerContextPreview = 1, + GPHVideoPlayerContextChat = 2, +}; + typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerState, open) { GPHVideoPlayerStateUnknown = 0, GPHVideoPlayerStateReadyToPlay = 1, @@ -3641,11 +3640,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") -@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; -@end - - @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; - (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; @@ -3658,6 +3652,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") - (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT; @end +@class UIContextMenuConfiguration; + +@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) +- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// ////////////////// PREVIEW STUFF::::::: +- (UIContextMenuConfiguration * _Nullable)collectionView:(UICollectionView * _Nonnull)collectionView contextMenuConfigurationForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath point:(CGPoint)point SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); +@end + @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; @@ -3709,13 +3711,13 @@ SWIFT_CLASS("_TtC10GiphyUISDK21GiphySearchController") @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; +- (void)didTapUsername:(NSString * _Nonnull)username; +- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; @end @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)didTapUsername:(NSString * _Nonnull)username; -- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; +- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; @end @@ -3812,7 +3814,7 @@ SWIFT_CLASS("_TtC10GiphyUISDK23PingbackSubmissionQueue") #endif #elif defined(__i386__) && __i386__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) #ifndef GIPHYUISDK_SWIFT_H #define GIPHYUISDK_SWIFT_H #pragma clang diagnostic push @@ -4074,6 +4076,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) { GPHActionTypeSent = 3, GPHActionTypeFavorite = 4, GPHActionTypeStart = 5, + GPHActionTypeLongpress = 6, }; @@ -4831,18 +4834,9 @@ SWIFT_CLASS("_TtC10GiphyUISDK12GPHMediaCell") @interface GPHMediaCell : UICollectionViewCell - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -@property (nonatomic, readonly) BOOL canBecomeFirstResponder; -- (BOOL)canPerformAction:(SEL _Nonnull)action withSender:(id _Nullable)sender SWIFT_WARN_UNUSED_RESULT; - (void)prepareForReuse; @end -@class UIContextMenuInteraction; -@class UIContextMenuConfiguration; - -@interface GPHMediaCell (SWIFT_EXTENSION(GiphyUISDK)) -- (UIContextMenuConfiguration * _Nullable)contextMenuInteraction:(UIContextMenuInteraction * _Nonnull)interaction configurationForMenuAtLocation:(CGPoint)location SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); -@end - /// Represents a Giphy Media Response (single result) SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse") @@ -5375,6 +5369,12 @@ SWIFT_CLASS("_TtC10GiphyUISDK14GPHVideoAssets") @end +typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerContext, open) { + GPHVideoPlayerContextDetail = 0, + GPHVideoPlayerContextPreview = 1, + GPHVideoPlayerContextChat = 2, +}; + typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerState, open) { GPHVideoPlayerStateUnknown = 0, GPHVideoPlayerStateReadyToPlay = 1, @@ -5547,11 +5547,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") -@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; -@end - - @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; - (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; @@ -5564,6 +5559,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") - (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT; @end +@class UIContextMenuConfiguration; + +@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) +- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// ////////////////// PREVIEW STUFF::::::: +- (UIContextMenuConfiguration * _Nullable)collectionView:(UICollectionView * _Nonnull)collectionView contextMenuConfigurationForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath point:(CGPoint)point SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); +@end + @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; @@ -5615,13 +5618,13 @@ SWIFT_CLASS("_TtC10GiphyUISDK21GiphySearchController") @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; +- (void)didTapUsername:(NSString * _Nonnull)username; +- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; @end @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)didTapUsername:(NSString * _Nonnull)username; -- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; +- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; @end diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Info.plist b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Info.plist index 2aa45a72..a751cc66 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Info.plist and b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Info.plist differ diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 54159b5b..e4bfb082 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 8abd9185..5aa58383 100644 --- a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc index 54159b5b..e4bfb082 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface index 8abd9185..5aa58383 100644 --- a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftdoc index 0a755683..f2bbf85a 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftinterface index 5a74a4d9..4cdd5fce 100644 --- a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target i386-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386.swiftdoc index 0a755683..f2bbf85a 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386.swiftinterface index 5a74a4d9..4cdd5fce 100644 --- a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/i386.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target i386-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index c7fb6ed5..dd0a300a 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 8528ef22..4a1e8282 100644 --- a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc index c7fb6ed5..dd0a300a 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface index 8528ef22..4a1e8282 100644 --- a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/_CodeSignature/CodeResources b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/_CodeSignature/CodeResources index 45a19cf3..50d29371 100644 --- a/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/_CodeSignature/CodeResources +++ b/GiphyUISDK.xcframework/ios-arm64_i386_x86_64-simulator/GiphyUISDK.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/GiphyUISDK-Swift.h - S+Z4ml66wSSmjEOCA5rnyVMHi/4= + xoJhU5ZgZPai3X7DMiFaoQwHVvc= Headers/GiphyUISDK.h @@ -34,79 +34,79 @@ Info.plist - J2/UMEoS6p+bq/UK3STqJvuRGTg= + f81UynxCspJN7CIiBKLR6XCr7Zo= Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc - MNlo1ZfozlIT3S4+KBZO2VMgoQQ= + wkY6OnEY585zYmcUREuOs7OXqlE= Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface - UkA/ygaZPXOHwoEpf3JbWFbNUSM= + 8DXF2P4S/VSDmkKfOysWlWU+YJg= Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule - vS1vAKzze0iKO0rnXembpntUq4M= + QfpuBaVH1oxJUCEMs6aA5uXx/5U= Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc - MNlo1ZfozlIT3S4+KBZO2VMgoQQ= + wkY6OnEY585zYmcUREuOs7OXqlE= Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface - UkA/ygaZPXOHwoEpf3JbWFbNUSM= + 8DXF2P4S/VSDmkKfOysWlWU+YJg= Modules/GiphyUISDK.swiftmodule/arm64.swiftmodule - vS1vAKzze0iKO0rnXembpntUq4M= + QfpuBaVH1oxJUCEMs6aA5uXx/5U= Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftdoc - AGLdW6vgVoDnx7cwr/40vIK7vuA= + tV6C7YM3884/+dTEMs9bSgWChfE= Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftinterface - aW5i3+cJEFac9jtDpaavQxmLpAI= + pynK26mcKj6Z2Bf5tjo+g/4/P2A= Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftmodule - NwLQ5kFCb3U+BoCEg9rdtQj+XUs= + KdZPstaGbPC7t2Jy+flODENQqvc= Modules/GiphyUISDK.swiftmodule/i386.swiftdoc - AGLdW6vgVoDnx7cwr/40vIK7vuA= + tV6C7YM3884/+dTEMs9bSgWChfE= Modules/GiphyUISDK.swiftmodule/i386.swiftinterface - aW5i3+cJEFac9jtDpaavQxmLpAI= + pynK26mcKj6Z2Bf5tjo+g/4/P2A= Modules/GiphyUISDK.swiftmodule/i386.swiftmodule - NwLQ5kFCb3U+BoCEg9rdtQj+XUs= + KdZPstaGbPC7t2Jy+flODENQqvc= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - yKkViLjabBcsnlK7j80iu9lYKfI= + hS/lm6uiHNFO9mJqvV/HWivwLCc= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - gEMKD8hiRhuUbWW4HjkPz2WYPTc= + 6irnHRf6EovPNcolYgapt5WXBKw= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - zDZqz/hKhK5kZCmH4lR5h5tGoeM= + zbz2Yv8wGoAu8d0E3x1U0yIGlSY= Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc - yKkViLjabBcsnlK7j80iu9lYKfI= + hS/lm6uiHNFO9mJqvV/HWivwLCc= Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface - gEMKD8hiRhuUbWW4HjkPz2WYPTc= + 6irnHRf6EovPNcolYgapt5WXBKw= Modules/GiphyUISDK.swiftmodule/x86_64.swiftmodule - zDZqz/hKhK5kZCmH4lR5h5tGoeM= + zbz2Yv8wGoAu8d0E3x1U0yIGlSY= Modules/module.modulemap @@ -119,11 +119,11 @@ hash - S+Z4ml66wSSmjEOCA5rnyVMHi/4= + xoJhU5ZgZPai3X7DMiFaoQwHVvc= hash2 - IHcJTXuSKej2cv7Ua46zK6gm+882XB2+5ahwS/Io2WQ= + 2Cj+S7V3dIxfJ7PcRHFm4aIEsQBDtK0iQIqqIhiE07E= Headers/GiphyUISDK.h @@ -196,198 +196,198 @@ hash - MNlo1ZfozlIT3S4+KBZO2VMgoQQ= + wkY6OnEY585zYmcUREuOs7OXqlE= hash2 - 1yEGD7oBD8w9wqQ5BNNquYRZSKaPrl6ce19bAmDDZds= + bQ2MT7qQ37kmthvRnC9+KepBdW3p0RS2zD341+Abhec= Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash - UkA/ygaZPXOHwoEpf3JbWFbNUSM= + 8DXF2P4S/VSDmkKfOysWlWU+YJg= hash2 - hrQFgqmiHPD31lAjbpXURqLPjHrTjtyO8+J9Urc9Ogw= + +cvTjZmtseMMS2q++Zsz+q4PlBQWW+gCz3VFxuDMIpM= Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash - vS1vAKzze0iKO0rnXembpntUq4M= + QfpuBaVH1oxJUCEMs6aA5uXx/5U= hash2 - DT5mV5ItG9GADUzk5R8rLfrCK0E3aVJrGTzHT1VrBFc= + k7/Th9tuswbO4rULWleJ+48WwPCeMty/8wyR+mA5X9o= Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc hash - MNlo1ZfozlIT3S4+KBZO2VMgoQQ= + wkY6OnEY585zYmcUREuOs7OXqlE= hash2 - 1yEGD7oBD8w9wqQ5BNNquYRZSKaPrl6ce19bAmDDZds= + bQ2MT7qQ37kmthvRnC9+KepBdW3p0RS2zD341+Abhec= Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface hash - UkA/ygaZPXOHwoEpf3JbWFbNUSM= + 8DXF2P4S/VSDmkKfOysWlWU+YJg= hash2 - hrQFgqmiHPD31lAjbpXURqLPjHrTjtyO8+J9Urc9Ogw= + +cvTjZmtseMMS2q++Zsz+q4PlBQWW+gCz3VFxuDMIpM= Modules/GiphyUISDK.swiftmodule/arm64.swiftmodule hash - vS1vAKzze0iKO0rnXembpntUq4M= + QfpuBaVH1oxJUCEMs6aA5uXx/5U= hash2 - DT5mV5ItG9GADUzk5R8rLfrCK0E3aVJrGTzHT1VrBFc= + k7/Th9tuswbO4rULWleJ+48WwPCeMty/8wyR+mA5X9o= Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftdoc hash - AGLdW6vgVoDnx7cwr/40vIK7vuA= + tV6C7YM3884/+dTEMs9bSgWChfE= hash2 - vuNPCyypRNlQ98Pu45nC4a1caGG5FAo6RS5Wa93J8Mk= + 1P0lhkg4hpUhlqfYB5pjyNiMiUzEWxbkh0bPL0tgcvE= Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftinterface hash - aW5i3+cJEFac9jtDpaavQxmLpAI= + pynK26mcKj6Z2Bf5tjo+g/4/P2A= hash2 - lRnXGaWjWDU0LtMmrTQZtRK5beJYRzUZ4Yh/A3c7F24= + KVPC1Bd/uxEkrhxddyFpqQDcOt3OVxs34tLGBTWe+KM= Modules/GiphyUISDK.swiftmodule/i386-apple-ios-simulator.swiftmodule hash - NwLQ5kFCb3U+BoCEg9rdtQj+XUs= + KdZPstaGbPC7t2Jy+flODENQqvc= hash2 - nbo+W+yZHjJxv+EWrQdlIDVSJQXKud4qTjeMutTndQY= + dvfEqJWmVrSkq1Xvu4QvbGqsJ7gTC2dEj/8+JzeP+eg= Modules/GiphyUISDK.swiftmodule/i386.swiftdoc hash - AGLdW6vgVoDnx7cwr/40vIK7vuA= + tV6C7YM3884/+dTEMs9bSgWChfE= hash2 - vuNPCyypRNlQ98Pu45nC4a1caGG5FAo6RS5Wa93J8Mk= + 1P0lhkg4hpUhlqfYB5pjyNiMiUzEWxbkh0bPL0tgcvE= Modules/GiphyUISDK.swiftmodule/i386.swiftinterface hash - aW5i3+cJEFac9jtDpaavQxmLpAI= + pynK26mcKj6Z2Bf5tjo+g/4/P2A= hash2 - lRnXGaWjWDU0LtMmrTQZtRK5beJYRzUZ4Yh/A3c7F24= + KVPC1Bd/uxEkrhxddyFpqQDcOt3OVxs34tLGBTWe+KM= Modules/GiphyUISDK.swiftmodule/i386.swiftmodule hash - NwLQ5kFCb3U+BoCEg9rdtQj+XUs= + KdZPstaGbPC7t2Jy+flODENQqvc= hash2 - nbo+W+yZHjJxv+EWrQdlIDVSJQXKud4qTjeMutTndQY= + dvfEqJWmVrSkq1Xvu4QvbGqsJ7gTC2dEj/8+JzeP+eg= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash - yKkViLjabBcsnlK7j80iu9lYKfI= + hS/lm6uiHNFO9mJqvV/HWivwLCc= hash2 - bDUbY9TGBvSm21qj+b7H/OhF7ycgBtYHXUno4FQc4vU= + FgxV07mYy5SlYSacggkc3cqh+pvuydH4YtbG7IIPTdA= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash - gEMKD8hiRhuUbWW4HjkPz2WYPTc= + 6irnHRf6EovPNcolYgapt5WXBKw= hash2 - VZmdpH6C7mYgiaB0NfUkJrLXaa2FQJilgCu6ItVluPQ= + uKyJTa2sKhPi4UA+fo9ckDzB4MZnaF2Hv8U4Ok2QJqk= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash - zDZqz/hKhK5kZCmH4lR5h5tGoeM= + zbz2Yv8wGoAu8d0E3x1U0yIGlSY= hash2 - +msyjxEynm/7DVS2D17WffPZ3vDDSedWfuoVXw0lx0E= + 4yKyj16Mvw4zVV0dmqdi2p1o5U8dvRo1Uo8jQR3QQYI= Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc hash - yKkViLjabBcsnlK7j80iu9lYKfI= + hS/lm6uiHNFO9mJqvV/HWivwLCc= hash2 - bDUbY9TGBvSm21qj+b7H/OhF7ycgBtYHXUno4FQc4vU= + FgxV07mYy5SlYSacggkc3cqh+pvuydH4YtbG7IIPTdA= Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface hash - gEMKD8hiRhuUbWW4HjkPz2WYPTc= + 6irnHRf6EovPNcolYgapt5WXBKw= hash2 - VZmdpH6C7mYgiaB0NfUkJrLXaa2FQJilgCu6ItVluPQ= + uKyJTa2sKhPi4UA+fo9ckDzB4MZnaF2Hv8U4Ok2QJqk= Modules/GiphyUISDK.swiftmodule/x86_64.swiftmodule hash - zDZqz/hKhK5kZCmH4lR5h5tGoeM= + zbz2Yv8wGoAu8d0E3x1U0yIGlSY= hash2 - +msyjxEynm/7DVS2D17WffPZ3vDDSedWfuoVXw0lx0E= + 4yKyj16Mvw4zVV0dmqdi2p1o5U8dvRo1Uo8jQR3QQYI= Modules/module.modulemap diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/GiphyUISDK b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/GiphyUISDK index 82905fac..6b8f97d3 100755 Binary files a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/GiphyUISDK and b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/GiphyUISDK differ diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Headers/GiphyUISDK-Swift.h b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Headers/GiphyUISDK-Swift.h index 3e0b5dd3..5ddcf4d5 100644 --- a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Headers/GiphyUISDK-Swift.h +++ b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Headers/GiphyUISDK-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) #ifndef GIPHYUISDK_SWIFT_H #define GIPHYUISDK_SWIFT_H #pragma clang diagnostic push @@ -262,6 +262,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) { GPHActionTypeSent = 3, GPHActionTypeFavorite = 4, GPHActionTypeStart = 5, + GPHActionTypeLongpress = 6, }; @@ -1019,18 +1020,9 @@ SWIFT_CLASS("_TtC10GiphyUISDK12GPHMediaCell") @interface GPHMediaCell : UICollectionViewCell - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -@property (nonatomic, readonly) BOOL canBecomeFirstResponder; -- (BOOL)canPerformAction:(SEL _Nonnull)action withSender:(id _Nullable)sender SWIFT_WARN_UNUSED_RESULT; - (void)prepareForReuse; @end -@class UIContextMenuInteraction; -@class UIContextMenuConfiguration; - -@interface GPHMediaCell (SWIFT_EXTENSION(GiphyUISDK)) -- (UIContextMenuConfiguration * _Nullable)contextMenuInteraction:(UIContextMenuInteraction * _Nonnull)interaction configurationForMenuAtLocation:(CGPoint)location SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); -@end - /// Represents a Giphy Media Response (single result) SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse") @@ -1563,6 +1555,12 @@ SWIFT_CLASS("_TtC10GiphyUISDK14GPHVideoAssets") @end +typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerContext, open) { + GPHVideoPlayerContextDetail = 0, + GPHVideoPlayerContextPreview = 1, + GPHVideoPlayerContextChat = 2, +}; + typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerState, open) { GPHVideoPlayerStateUnknown = 0, GPHVideoPlayerStateReadyToPlay = 1, @@ -1735,11 +1733,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") -@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; -@end - - @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; - (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; @@ -1752,6 +1745,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") - (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT; @end +@class UIContextMenuConfiguration; + +@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) +- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// ////////////////// PREVIEW STUFF::::::: +- (UIContextMenuConfiguration * _Nullable)collectionView:(UICollectionView * _Nonnull)collectionView contextMenuConfigurationForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath point:(CGPoint)point SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); +@end + @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; @@ -1803,13 +1804,13 @@ SWIFT_CLASS("_TtC10GiphyUISDK21GiphySearchController") @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; +- (void)didTapUsername:(NSString * _Nonnull)username; +- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; @end @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)didTapUsername:(NSString * _Nonnull)username; -- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; +- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; @end @@ -1906,7 +1907,7 @@ SWIFT_CLASS("_TtC10GiphyUISDK23PingbackSubmissionQueue") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) #ifndef GIPHYUISDK_SWIFT_H #define GIPHYUISDK_SWIFT_H #pragma clang diagnostic push @@ -2168,6 +2169,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) { GPHActionTypeSent = 3, GPHActionTypeFavorite = 4, GPHActionTypeStart = 5, + GPHActionTypeLongpress = 6, }; @@ -2925,18 +2927,9 @@ SWIFT_CLASS("_TtC10GiphyUISDK12GPHMediaCell") @interface GPHMediaCell : UICollectionViewCell - (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER; - (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE; -@property (nonatomic, readonly) BOOL canBecomeFirstResponder; -- (BOOL)canPerformAction:(SEL _Nonnull)action withSender:(id _Nullable)sender SWIFT_WARN_UNUSED_RESULT; - (void)prepareForReuse; @end -@class UIContextMenuInteraction; -@class UIContextMenuConfiguration; - -@interface GPHMediaCell (SWIFT_EXTENSION(GiphyUISDK)) -- (UIContextMenuConfiguration * _Nullable)contextMenuInteraction:(UIContextMenuInteraction * _Nonnull)interaction configurationForMenuAtLocation:(CGPoint)location SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); -@end - /// Represents a Giphy Media Response (single result) SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse") @@ -3469,6 +3462,12 @@ SWIFT_CLASS("_TtC10GiphyUISDK14GPHVideoAssets") @end +typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerContext, open) { + GPHVideoPlayerContextDetail = 0, + GPHVideoPlayerContextPreview = 1, + GPHVideoPlayerContextChat = 2, +}; + typedef SWIFT_ENUM(NSInteger, GPHVideoPlayerState, open) { GPHVideoPlayerStateUnknown = 0, GPHVideoPlayerStateReadyToPlay = 1, @@ -3641,11 +3640,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") -@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; -@end - - @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; - (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT; @@ -3658,6 +3652,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController") - (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT; @end +@class UIContextMenuConfiguration; + +@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) +- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath; +/// ////////////////// PREVIEW STUFF::::::: +- (UIContextMenuConfiguration * _Nullable)collectionView:(UICollectionView * _Nonnull)collectionView contextMenuConfigurationForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath point:(CGPoint)point SWIFT_WARN_UNUSED_RESULT SWIFT_AVAILABILITY(ios,introduced=13.0); +@end + @interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) - (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT; @@ -3709,13 +3711,13 @@ SWIFT_CLASS("_TtC10GiphyUISDK21GiphySearchController") @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; +- (void)didTapUsername:(NSString * _Nonnull)username; +- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; @end @interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK)) -- (void)didTapUsername:(NSString * _Nonnull)username; -- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell; +- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType; @end diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc index 474a43dd..686919d0 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface index a163ea53..98e2d039 100644 --- a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc index 474a43dd..686919d0 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface index a163ea53..98e2d039 100644 --- a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target arm64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc index fdb34743..dd932150 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index 9aefa2af..8275f277 100644 --- a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc index fdb34743..dd932150 100644 Binary files a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc and b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc differ diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface index 9aefa2af..8275f277 100644 --- a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface +++ b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface @@ -1,5 +1,5 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6) +// swift-compiler-version: Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30) // swift-module-flags: -target x86_64-apple-ios13.1-macabi -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name GiphyUISDK import AVFoundation import AVKit @@ -408,6 +408,16 @@ extension UIKit.UIColor { get } } +@objc public enum GPHVideoPlayerContext : Swift.Int { + case detail + case preview + case chat + public init?(rawValue: Swift.Int) + public typealias RawValue = Swift.Int + public var rawValue: Swift.Int { + get + } +} @objc public protocol GPHVideoViewDelegate { @objc optional func playerStateDidChange(_ state: GiphyUISDK.GPHVideoPlayerState) @objc optional func playerDidFail(_ description: Swift.String?) @@ -981,6 +991,8 @@ extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHWaterfallLayoutDelegate } extension GiphyUISDK.GiphyGridController : UIKit.UICollectionViewDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, willDisplay cell: UIKit.UICollectionViewCell, forItemAt indexPath: Foundation.IndexPath) + @available(iOS 13.0, *) + @_Concurrency.MainActor(unsafe) @objc dynamic public func collectionView(_ collectionView: UIKit.UICollectionView, contextMenuConfigurationForItemAt indexPath: Foundation.IndexPath, point: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? } extension GiphyUISDK.GiphyGridController : GiphyUISDK.GPHTrackingDelegate { @_Concurrency.MainActor(unsafe) @objc dynamic public func mediaForIndexPath(_ item: Foundation.IndexPath) -> GiphyUISDK.GPHMedia? @@ -1071,16 +1083,8 @@ extension GiphyUISDK.GiphyClipsViewController : GiphyUISDK.GPHVideoViewDelegate @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) @objc deinit } -extension GiphyUISDK.GPHMediaCell : UIKit.UIContextMenuInteractionDelegate { - @available(iOS 13.0, *) - @_Concurrency.MainActor(unsafe) @objc dynamic public func contextMenuInteraction(_ interaction: UIKit.UIContextMenuInteraction, configurationForMenuAtLocation location: CoreGraphics.CGPoint) -> UIKit.UIContextMenuConfiguration? -} @objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @_Concurrency.MainActor(unsafe) public class GPHMediaCell : UIKit.UICollectionViewCell { @_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreGraphics.CGRect) - @_Concurrency.MainActor(unsafe) @objc override dynamic public var canBecomeFirstResponder: Swift.Bool { - @_Concurrency.MainActor(unsafe) @objc get - } - @_Concurrency.MainActor(unsafe) @objc override dynamic public func canPerformAction(_ action: ObjectiveC.Selector, withSender sender: Any?) -> Swift.Bool @_Concurrency.MainActor(unsafe) @objc override dynamic public func prepareForReuse() @objc deinit } @@ -1319,6 +1323,7 @@ public enum GPHCoreRequestType : Swift.String { case post case get case put + case patch case delete case upload public init?(rawValue: Swift.String) @@ -1601,6 +1606,7 @@ extension GiphyUISDK.GPHChannel : GiphyUISDK.GPHMappable { case sent case favorite case start + case longpress public init?(rawValue: GiphyUISDK.GPHActionType.RawValue) public var rawValue: GiphyUISDK.GPHActionType.RawValue { get @@ -2151,6 +2157,9 @@ extension GiphyUISDK.GPHFileExtension : Swift.RawRepresentable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Equatable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.Hashable {} extension GiphyUISDK.GPHVideoPlayerState : Swift.RawRepresentable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Equatable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.Hashable {} +extension GiphyUISDK.GPHVideoPlayerContext : Swift.RawRepresentable {} extension GiphyUISDK.GPHSearchSuggestionType : Swift.Hashable {} extension GiphyUISDK.GradientDirection : Swift.Equatable {} extension GiphyUISDK.GradientDirection : Swift.Hashable {} diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Resources/Info.plist b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Resources/Info.plist index 8160dee2..b7bc6582 100644 --- a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Resources/Info.plist +++ b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/Resources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 2.1.16 + 2.1.17 CFBundleSupportedPlatforms MacOSX @@ -27,19 +27,19 @@ DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild - 13A1030d + 13C100 DTPlatformName macosx DTPlatformVersion - 12.0 + 12.1 DTSDKBuild - 21A344 + 21C46 DTSDKName - macosx12.0 + macosx12.1 DTXcode - 1310 + 1321 DTXcodeBuild - 13A1030d + 13C100 LSMinimumSystemVersion 10.15 UIDeviceFamily diff --git a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/_CodeSignature/CodeResources b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/_CodeSignature/CodeResources index 33dee091..53bbff8b 100644 --- a/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/_CodeSignature/CodeResources +++ b/GiphyUISDK.xcframework/ios-arm64_x86_64-maccatalyst/GiphyUISDK.framework/Versions/A/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Resources/Info.plist - XrOgQrcFFf2eqyM5s0/OBeoirfU= + pYbdTD7E0vMrddpsw5vc6hEzwxk= files2 @@ -15,7 +15,7 @@ hash2 - 8jBMSlnT2O4UGyOFnfrVN6frsqp++dPkJs+KdHAnbwU= + P3t4b4AmmJjf3Q9l5Yw3Fe0FYOYIEXbfPUpBbPdDvbM= Headers/GiphyUISDK.h @@ -64,84 +64,84 @@ hash2 - uUNQl1oCFee+6njtNSRRT6FNmpDFfusNabke1XK7jwY= + aczli4MkLYT+Bun5n1bllMMoDA7BPVaOYbeD08gROTY= Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftinterface hash2 - kPQZqdH69zLgK/MU5YqkkTqXVaVmqyeRdZEdaXrzdSg= + vjCE/zet+Scr4auCsS66wUrhdAVzTuY76hgKeQttK6w= Modules/GiphyUISDK.swiftmodule/arm64-apple-ios-macabi.swiftmodule hash2 - iOP06Qu6cEPg8WO7rabarK9nhinlhxD8AMC/CUFJWKE= + Z38d+t+lLp+KSBl4kzZzV8/O0dKQJ/t2kgkuvSJX+Fc= Modules/GiphyUISDK.swiftmodule/arm64.swiftdoc hash2 - uUNQl1oCFee+6njtNSRRT6FNmpDFfusNabke1XK7jwY= + aczli4MkLYT+Bun5n1bllMMoDA7BPVaOYbeD08gROTY= Modules/GiphyUISDK.swiftmodule/arm64.swiftinterface hash2 - kPQZqdH69zLgK/MU5YqkkTqXVaVmqyeRdZEdaXrzdSg= + vjCE/zet+Scr4auCsS66wUrhdAVzTuY76hgKeQttK6w= Modules/GiphyUISDK.swiftmodule/arm64.swiftmodule hash2 - iOP06Qu6cEPg8WO7rabarK9nhinlhxD8AMC/CUFJWKE= + Z38d+t+lLp+KSBl4kzZzV8/O0dKQJ/t2kgkuvSJX+Fc= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftdoc hash2 - QjKXHqOVK8YWkvC1YJBtMbue+1d7e4ZChGGmxIbc2vA= + ofr3Mfc/2Adyxb9h6kf5xLDryTt2ZjdiVyCUfD/A+tQ= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftinterface hash2 - ITU0ylzMMB6f6vA63tHij9QBRIfZnBXruRQ3bUwa23o= + HALkEC8TFajzbhDS4mmCmrDUb4mV/MLSRa4f8Q412dQ= Modules/GiphyUISDK.swiftmodule/x86_64-apple-ios-macabi.swiftmodule hash2 - VQ1QK7RQusEO5JL4PZA/EQGovTZbH6XOfmyvW4QzH+c= + BgMKtuINy86wKACDVzF/PP6YhvwVViGnchSJiv6w/9s= Modules/GiphyUISDK.swiftmodule/x86_64.swiftdoc hash2 - QjKXHqOVK8YWkvC1YJBtMbue+1d7e4ZChGGmxIbc2vA= + ofr3Mfc/2Adyxb9h6kf5xLDryTt2ZjdiVyCUfD/A+tQ= Modules/GiphyUISDK.swiftmodule/x86_64.swiftinterface hash2 - ITU0ylzMMB6f6vA63tHij9QBRIfZnBXruRQ3bUwa23o= + HALkEC8TFajzbhDS4mmCmrDUb4mV/MLSRa4f8Q412dQ= Modules/GiphyUISDK.swiftmodule/x86_64.swiftmodule hash2 - VQ1QK7RQusEO5JL4PZA/EQGovTZbH6XOfmyvW4QzH+c= + BgMKtuINy86wKACDVzF/PP6YhvwVViGnchSJiv6w/9s= Modules/module.modulemap @@ -155,7 +155,7 @@ hash2 - 2475ELhtG6qJaC1hHWjtmXrJa/oKxa1851BtfE9NlOo= + e/B2P8rKCDXH7je+i06Mk5ZYMd51O1Y5wpfjH9Kbo1c= diff --git a/Swift/Podfile b/Swift/Podfile index 5865a43e..f95ad842 100644 --- a/Swift/Podfile +++ b/Swift/Podfile @@ -2,6 +2,6 @@ use_frameworks! target "Example" do -pod 'Giphy', :podspec => 'https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.1.16/Giphy.podspec' +pod 'Giphy', :podspec => 'https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.1.17/Giphy.podspec' end diff --git a/Swift/Podfile.lock b/Swift/Podfile.lock index c2be9b70..3e77380c 100644 --- a/Swift/Podfile.lock +++ b/Swift/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Giphy (2.1.16): + - Giphy (2.1.17): - libwebp - libwebp (1.2.1): - libwebp/demux (= 1.2.1) @@ -12,7 +12,7 @@ PODS: - libwebp/webp (1.2.1) DEPENDENCIES: - - Giphy (from `https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.1.16/Giphy.podspec`) + - Giphy (from `https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.1.17/Giphy.podspec`) SPEC REPOS: trunk: @@ -20,12 +20,12 @@ SPEC REPOS: EXTERNAL SOURCES: Giphy: - :podspec: https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.1.16/Giphy.podspec + :podspec: https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.1.17/Giphy.podspec SPEC CHECKSUMS: - Giphy: 1272a1f1505c208b2070df8c93f0de56513e0fae + Giphy: fc23225ca34fa1cfe693d47d8924824ed6c5d02e libwebp: 98a37e597e40bfdb4c911fc98f2c53d0b12d05fc -PODFILE CHECKSUM: 5eea07821b150ce47d3cf2654e8e9e41097439c9 +PODFILE CHECKSUM: e1619574e9a0e0c51f41795ce5aebe44c9114128 COCOAPODS: 1.11.2