Conforms to NSObject
NSSecureCoding
Declared in FBSDKShareOpenGraphValueContainer.h

Overview

Protocol defining operations on open graph actions and objects.

The property keys MUST have namespaces specified on them, such as og:image.

Tasks

Instance Methods

URLForKey:

Gets an NSURL out of the receiver. - Parameter key: The key for the value - Returns: The NSURL value or nil

- (NSURL *)URLForKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

arrayForKey:

Gets an NSArray out of the receiver. - Parameter key: The key for the value - Returns: The NSArray value or nil

- (NSArray *)arrayForKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

enumerateKeysAndObjectsUsingBlock:

Applies a given block object to the entries of the receiver. - Parameter block: A block object to operate on entries in the receiver

- (void)enumerateKeysAndObjectsUsingBlock:(void ( ^ ) ( NSString *key , id object , BOOL *stop ))block

Declared In

FBSDKShareOpenGraphValueContainer.h

keyEnumerator

Returns an enumerator object that lets you access each key in the receiver. - Returns: An enumerator object that lets you access each key in the receiver

- (NSEnumerator *)keyEnumerator

Declared In

FBSDKShareOpenGraphValueContainer.h

numberForKey:

Gets an NSNumber out of the receiver. - Parameter key: The key for the value - Returns: The NSNumber value or nil

- (NSNumber *)numberForKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

objectEnumerator

Returns an enumerator object that lets you access each value in the receiver. - Returns: An enumerator object that lets you access each value in the receiver

- (NSEnumerator *)objectEnumerator

Declared In

FBSDKShareOpenGraphValueContainer.h

objectForKey:

Gets an FBSDKShareOpenGraphObject out of the receiver. - Parameter key: The key for the value - Returns: The FBSDKShareOpenGraphObject value or nil

- (FBSDKShareOpenGraphObject *)objectForKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

objectForKeyedSubscript:

Enables subscript access to the values in the receiver. - Parameter key: The key for the value - Returns: The value

- (id)objectForKeyedSubscript:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

parseProperties:

Parses properties out of a dictionary into the receiver. - Parameter properties: The properties to parse.

- (void)parseProperties:(NSDictionary *)properties

Declared In

FBSDKShareOpenGraphValueContainer.h

photoForKey:

Gets an FBSDKSharePhoto out of the receiver. - Parameter key: The key for the value - Returns: The FBSDKSharePhoto value or nil

- (FBSDKSharePhoto *)photoForKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

removeObjectForKey:

Removes a value from the receiver for the specified key. - Parameter key: The key for the value

- (void)removeObjectForKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

setArray:forKey:

Sets an NSArray on the receiver.

- (void)setArray:(NSArray *)array forKey:(NSString *)key

Discussion

This method will throw if the array contains any values that is not an NSNumber, NSString, NSURL, FBSDKSharePhoto or FBSDKShareOpenGraphObject. - Parameter array: The NSArray value - Parameter key: The key for the value

Declared In

FBSDKShareOpenGraphValueContainer.h

setNumber:forKey:

Sets an NSNumber on the receiver. - Parameter number: The NSNumber value - Parameter key: The key for the value

- (void)setNumber:(NSNumber *)number forKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

setObject:forKey:

Sets an FBSDKShareOpenGraphObject on the receiver. - Parameter object: The FBSDKShareOpenGraphObject value - Parameter key: The key for the value

- (void)setObject:(FBSDKShareOpenGraphObject *)object forKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

setPhoto:forKey:

Sets an FBSDKSharePhoto on the receiver. - Parameter photo: The FBSDKSharePhoto value - Parameter key: The key for the value

- (void)setPhoto:(FBSDKSharePhoto *)photo forKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

setString:forKey:

Sets an NSString on the receiver. - Parameter string: The NSString value - Parameter key: The key for the value

- (void)setString:(NSString *)string forKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

setURL:forKey:

Sets an NSURL on the receiver. - Parameter URL: The NSURL value - Parameter key: The key for the value

- (void)setURL:(NSURL *)URL forKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h

stringForKey:

Gets an NSString out of the receiver. - Parameter key: The key for the value - Returns: The NSString value or nil

- (NSString *)stringForKey:(NSString *)key

Declared In

FBSDKShareOpenGraphValueContainer.h