Skip to content

Commit

Permalink
2.1.7 (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmaier authored Jan 25, 2022
1 parent 2b70594 commit 5797527
Show file tree
Hide file tree
Showing 44 changed files with 496 additions and 354 deletions.
14 changes: 7 additions & 7 deletions GiphyUISDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,16 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>GiphyUISDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
Expand All @@ -37,16 +34,19 @@
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>GiphyUISDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -262,6 +262,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) {
GPHActionTypeSent = 3,
GPHActionTypeFavorite = 4,
GPHActionTypeStart = 5,
GPHActionTypeLongpress = 6,
};


Expand Down Expand Up @@ -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)) <UIContextMenuInteractionDelegate>
- (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")
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -1735,11 +1733,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController")



@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <UICollectionViewDelegate>
- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
@end


@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <GPHTrackingDelegate>
- (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT;
- (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT;
Expand All @@ -1752,6 +1745,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController")
- (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT;
@end

@class UIContextMenuConfiguration;

@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <UICollectionViewDelegate>
- (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)) <UICollectionViewDataSource>
- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
Expand Down Expand Up @@ -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


Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -2168,6 +2169,7 @@ typedef SWIFT_ENUM(NSInteger, GPHActionType, open) {
GPHActionTypeSent = 3,
GPHActionTypeFavorite = 4,
GPHActionTypeStart = 5,
GPHActionTypeLongpress = 6,
};


Expand Down Expand Up @@ -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)) <UIContextMenuInteractionDelegate>
- (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")
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -3641,11 +3640,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController")



@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <UICollectionViewDelegate>
- (void)collectionView:(UICollectionView * _Nonnull)collectionView willDisplayCell:(UICollectionViewCell * _Nonnull)cell forItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath;
@end


@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <GPHTrackingDelegate>
- (GPHMedia * _Nullable)mediaForIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT;
- (BOOL)mediaIsLoadedAtIndexPath:(NSIndexPath * _Nonnull)item SWIFT_WARN_UNUSED_RESULT;
Expand All @@ -3658,6 +3652,14 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController")
- (UICollectionViewScrollDirection)scrollDirection SWIFT_WARN_UNUSED_RESULT;
@end

@class UIContextMenuConfiguration;

@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <UICollectionViewDelegate>
- (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)) <UICollectionViewDataSource>
- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
Expand Down Expand Up @@ -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


Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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?)
Expand Down Expand Up @@ -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?
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 {}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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?)
Expand Down Expand Up @@ -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?
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 {}
Expand Down
Binary file not shown.
Loading

0 comments on commit 5797527

Please sign in to comment.