Skip to content

Commit

Permalink
2.2.1 (#213)
Browse files Browse the repository at this point in the history
* xcframework

* podfiles
  • Loading branch information
cgmaier committed Nov 30, 2022
1 parent 0d264c5 commit 48fdb55
Show file tree
Hide file tree
Showing 46 changed files with 338,208 additions and 783 deletions.
2 changes: 1 addition & 1 deletion Camera-Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ use_frameworks!

target "camera-example" do

pod 'Giphy', :podspec => 'https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.2.0/Giphy.podspec'
pod 'Giphy', :podspec => 'https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.2.1/Giphy.podspec'

end
10 changes: 5 additions & 5 deletions Camera-Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Giphy (2.2.0):
- Giphy (2.2.1):
- libwebp
- libwebp (1.2.3):
- libwebp/demux (= 1.2.3)
Expand All @@ -12,20 +12,20 @@ PODS:
- libwebp/webp (1.2.3)

DEPENDENCIES:
- Giphy (from `https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.2.0/Giphy.podspec`)
- Giphy (from `https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.2.1/Giphy.podspec`)

SPEC REPOS:
trunk:
- libwebp

EXTERNAL SOURCES:
Giphy:
:podspec: https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.2.0/Giphy.podspec
:podspec: https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.2.1/Giphy.podspec

SPEC CHECKSUMS:
Giphy: bbd46655281f9850dc43725a2bc82c0d1fca8bf1
Giphy: cdfd21712d85750188dd7c9ae782d2641766f4a5
libwebp: 60305b2e989864154bd9be3d772730f08fc6a59c

PODFILE CHECKSUM: 55c77c33efeaf220e62b6682353f899e43461e8a
PODFILE CHECKSUM: 7bd098e8939869b5abb8bcd3ea0f84c549ec295b

COCOAPODS: 1.11.2
14 changes: 7 additions & 7 deletions GiphyUISDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,34 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>GiphyUISDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>GiphyUISDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>GiphyUISDK.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -44,7 +44,7 @@
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Generated by Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
#ifndef GIPHYUISDK_SWIFT_H
#define GIPHYUISDK_SWIFT_H
#pragma clang diagnostic push
Expand All @@ -21,11 +23,20 @@
# include <swift/objc-prologue.h>
#endif

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

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

#import <GiphyUISDK/GiphyUISDK.h>

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

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

#if defined(__OBJC__)
@class NSString;

SWIFT_CLASS("_TtC10GiphyUISDK12CallToAction")
Expand Down Expand Up @@ -242,7 +287,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly) Class _Nonnull layer
- (void)layoutSubviews;
@end

@class NSNumber;
@class GPHRequestConfig;
@class NSURLResponse;
@class NSOperation;
Expand Down Expand Up @@ -329,7 +373,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GPHCache * _
/// Removes all objects from the cache. This method blocks the calling thread until the cache has been cleared.
/// Uses a semaphore to achieve synchronicity on the disk cache.
- (void)clear;
/// Convenient method that can be used to retrive a gif asset. It will return the caches asset if available or perform the network.
/// \param urlString The url of the asset.
///
/// \param completion A closure that provide a <code>NSData</code> or an <code>Error</code>.
Expand Down Expand Up @@ -766,7 +809,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK9GPHImages")

/// Represents Giphy APIs Supported Languages
typedef SWIFT_ENUM(NSInteger, GPHLanguageType, open) {
/// We use Int, RawRepresentable to be able to bridge btw ObjC<>Swift without loosing String values.
/// English (en)
GPHLanguageTypeEnglish = 0,
/// Spanish (es)
Expand Down Expand Up @@ -1047,17 +1089,10 @@ SWIFT_CLASS("_TtC10GiphyUISDK8GPHMedia")
SWIFT_CLASS("_TtC10GiphyUISDK12GPHMediaCell")
@interface GPHMediaCell : UICollectionViewCell
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
@property (nonatomic, getter=isHighlighted) BOOL highlighted;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder SWIFT_UNAVAILABLE;
- (void)prepareForReuse;
@end

@class UIGestureRecognizer;

@interface GPHMediaCell (SWIFT_EXTENSION(GiphyUISDK)) <UIGestureRecognizerDelegate>
- (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
@end


/// Represents a Giphy Media Response (single result)
SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse")
Expand All @@ -1081,7 +1116,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK16GPHMediaResponse")

/// Represents a Giphy Object Type (GIF/Sticker/…)
typedef SWIFT_ENUM(NSInteger, GPHMediaType, open) {
/// We use Int, RawRepresentable to be able to bridge btw ObjC<>Swift without losing String values.
/// Gif Media Type
GPHMediaTypeGif = 0,
/// Sticker Media Type
Expand Down Expand Up @@ -1209,7 +1243,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK18GPHPingbacksClient")

/// Represents content rating (y,g, pg, pg-13 or r)
typedef SWIFT_ENUM(NSInteger, GPHRatingType, open) {
/// We use Int, RawRepresentable to be able to bridge btw ObjC<>Swift without loosing String values.
/// Rated Y
GPHRatingTypeRatedY = 0,
/// Rated G
Expand Down Expand Up @@ -1240,7 +1273,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK10GPHRecents")

/// Represents a Giphy Rendition Type (Original/Preview/…)
typedef SWIFT_ENUM(NSInteger, GPHRenditionType, open) {
/// We use Int, RawRepresentable to be able to bridge btw ObjC<>Swift without losing String values.
/// Original file size and file dimensions. Good for desktop use.
GPHRenditionTypeOriginal = 0,
/// Preview image for original.
Expand Down Expand Up @@ -1388,7 +1420,7 @@ SWIFT_CLASS("_TtC10GiphyUISDK8GPHTheme")
@interface GPHTheme : NSObject
- (nonnull instancetype)initWithType:(enum GPHThemeType)type;
@property (nonatomic) enum GPHThemeType type;
@property (nonatomic, readonly) UIScrollViewIndicatorStyle emojiDrawerScrollIndicatorStyle;
@property (nonatomic, readonly) enum UIScrollViewIndicatorStyle emojiDrawerScrollIndicatorStyle;
@property (nonatomic, readonly, strong) UIColor * _Nonnull emojiDrawerGradientTopColor;
@property (nonatomic, readonly, strong) UIColor * _Nonnull emojiDrawerGradientBottomColor;
@property (nonatomic, readonly, strong) UIColor * _Nonnull emojiDrawerSeparatorColor;
Expand Down Expand Up @@ -1806,13 +1838,6 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController")
@end


@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <UICollectionViewDataSource>
- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView * _Nonnull)collectionView SWIFT_WARN_UNUSED_RESULT;
- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
@end


@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <GPHGridDelegate>
- (void)didScrollWithOffset:(CGFloat)offset;
- (void)contentDidUpdateWithResultCount:(NSInteger)resultCount error:(NSError * _Nullable)error;
Expand All @@ -1821,6 +1846,13 @@ SWIFT_CLASS("_TtC10GiphyUISDK19GiphyGridController")
@end


@interface GiphyGridController (SWIFT_EXTENSION(GiphyUISDK)) <UICollectionViewDataSource>
- (NSInteger)collectionView:(UICollectionView * _Nonnull)collectionView numberOfItemsInSection:(NSInteger)section SWIFT_WARN_UNUSED_RESULT;
- (NSInteger)numberOfSectionsInCollectionView:(UICollectionView * _Nonnull)collectionView SWIFT_WARN_UNUSED_RESULT;
- (UICollectionViewCell * _Nonnull)collectionView:(UICollectionView * _Nonnull)collectionView cellForItemAtIndexPath:(NSIndexPath * _Nonnull)indexPath SWIFT_WARN_UNUSED_RESULT;
@end



SWIFT_CLASS("_TtC10GiphyUISDK14GiphyPingbacks")
@interface GiphyPingbacks : NSObject
Expand Down Expand Up @@ -1857,20 +1889,20 @@ SWIFT_CLASS("_TtC10GiphyUISDK21GiphySearchController")




@interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK))
- (void)didChooseMediaWithMedia:(GPHMedia * _Nonnull)media;
@end



@interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK))
- (void)didTapUsername:(NSString * _Nonnull)username;
- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell;
- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType;
@end


@interface GiphySearchController (SWIFT_EXTENSION(GiphyUISDK))
- (void)selectedContentTypeDidChange:(enum GPHContentType)contentType;
- (void)didTapUsername:(NSString * _Nonnull)username;
- (void)didLongPressCell:(GPHMediaCell * _Nullable)cell;
@end


Expand Down Expand Up @@ -1962,8 +1994,15 @@ SWIFT_CLASS("_TtC10GiphyUISDK23PingbackSubmissionQueue")



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

#else
#error unsupported Swift architecture
#endif
Binary file modified GiphyUISDK.xcframework/ios-arm64/GiphyUISDK.framework/Info.plist
Binary file not shown.
Loading

0 comments on commit 48fdb55

Please sign in to comment.