| | |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | /*! |
| | | @abstract The common interface for components that initiate liking. |
| | | #import "FBSDKLikeObjectType.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | The common interface for components that initiate liking. |
| | | |
| | | @see FBSDKLikeButton |
| | | |
| | | @see FBSDKLikeControl |
| | | */ |
| | | NS_SWIFT_NAME(Liking) |
| | | @protocol FBSDKLiking <NSObject> |
| | | |
| | | /*! |
| | | @abstract The objectID for the object to like. |
| | | /** |
| | | The objectID for the object to like. |
| | | |
| | | @discussion This value may be an Open Graph object ID or a string representation of an URL that describes an |
| | | Open Graph object. The objects may be public objects, like pages, or objects that are defined by your application. |
| | | |
| | | This value may be an Open Graph object ID or a string representation of an URL that describes an |
| | | Open Graph object. The objects may be public objects, like pages, or objects that are defined by your application. |
| | | */ |
| | | @property (nonatomic, copy) NSString *objectID; |
| | | |
| | | /*! |
| | | @abstract The type of object referenced by the objectID. |
| | | /** |
| | | The type of object referenced by the objectID. |
| | | |
| | | @discussion If the objectType is unknown, the control will determine the objectType by querying the server with the |
| | | |
| | | If the objectType is unknown, the control will determine the objectType by querying the server with the |
| | | objectID. Specifying a value for the objectType is an optimization that should be used if the type is known by the |
| | | consumer. Consider setting the objectType if it is known when setting the objectID. |
| | | */ |
| | | @property (nonatomic, assign) FBSDKLikeObjectType objectType; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |