| | |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | * A container of textures for a camera effect. |
| | | * A texture for a camera effect is an UIImages identified by a NSString key. |
| | | */ |
| | | NS_SWIFT_NAME(CameraEffectTextures) |
| | | @interface FBSDKCameraEffectTextures : NSObject <FBSDKCopying, NSSecureCoding> |
| | | |
| | | /** |
| | |
| | | @param image The UIImage for the texture |
| | | @param key The key for the texture |
| | | */ |
| | | - (void)setImage:(UIImage *)image forKey:(NSString *)key; |
| | | - (void)setImage:(nullable UIImage *)image forKey:(NSString *)key |
| | | NS_SWIFT_NAME(set(_:forKey:)); |
| | | |
| | | /** |
| | | Gets the image for a texture key. |
| | | @param key The key for the texture |
| | | @return The texture UIImage or nil |
| | | */ |
| | | - (UIImage *)imageForKey:(NSString *)key; |
| | | - (nullable UIImage *)imageForKey:(NSString *)key; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |