

Nextrek
@ 1058
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. // // You are hereby granted a non-exclusive, worldwide, royalty-free license to use, // copy, modify, and distribute this software in source code or binary form for use // in connection with the web services and APIs provided by Facebook. // // As with any software that integrates with the Facebook platform, your use of // this software is subject to the Facebook Developer Principles and Policies // [http://developers.facebook.com/policy/]. This copyright notice shall be // included in all copies or substantial portions of the software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR // COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #import <Foundation/Foundation.h> @class FBSDKShareOpenGraphObject; @class FBSDKSharePhoto; /*! @abstract Protocol defining operations on open graph actions and objects. @discussion The property keys MUST have namespaces specified on them, such as `og:image`. */ @protocol FBSDKShareOpenGraphValueContaining <NSObject, NSSecureCoding> /*! @abstract Gets an NSArray out of the receiver. @param key The key for the value @return The NSArray value or nil */ - (NSArray *)arrayForKey:(NSString *)key; /*! @abstract Applies a given block object to the entries of the receiver. @param block A block object to operate on entries in the receiver */ - (void)enumerateKeysAndObjectsUsingBlock:(void (^)(NSString *key, id object, BOOL *stop))block; /*! @abstract Returns an enumerator object that lets you access each key in the receiver. @return An enumerator object that lets you access each key in the receiver */ - (NSEnumerator *)keyEnumerator; /*! @abstract Gets an NSNumber out of the receiver. @param key The key for the value @return The NSNumber value or nil */ - (NSNumber *)numberForKey:(NSString *)key; /*! @abstract Returns an enumerator object that lets you access each value in the receiver. @return An enumerator object that lets you access each value in the receiver */ - (NSEnumerator *)objectEnumerator; /*! @abstract Gets an FBSDKShareOpenGraphObject out of the receiver. @param key The key for the value @return The FBSDKShareOpenGraphObject value or nil */ - (FBSDKShareOpenGraphObject *)objectForKey:(NSString *)key; /*! @abstract Enables subscript access to the values in the receiver. @param key The key for the value @return The value */ - (id)objectForKeyedSubscript:(NSString *)key; /*! @abstract Parses properties out of a dictionary into the receiver. @param properties The properties to parse. */ - (void)parseProperties:(NSDictionary *)properties; /*! @abstract Gets an FBSDKSharePhoto out of the receiver. @param key The key for the value @return The FBSDKSharePhoto value or nil */ - (FBSDKSharePhoto *)photoForKey:(NSString *)key; /*! @abstract Removes a value from the receiver for the specified key. @param key The key for the value */ - (void)removeObjectForKey:(NSString *)key; /*! @abstract Sets an NSArray on the receiver. @discussion This method will throw if the array contains any values that is not an NSNumber, NSString, NSURL, FBSDKSharePhoto or FBSDKShareOpenGraphObject. @param array The NSArray value @param key The key for the value */ - (void)setArray:(NSArray *)array forKey:(NSString *)key; /*! @abstract Sets an NSNumber on the receiver. @param number The NSNumber value @param key The key for the value */ - (void)setNumber:(NSNumber *)number forKey:(NSString *)key; /*! @abstract Sets an FBSDKShareOpenGraphObject on the receiver. @param object The FBSDKShareOpenGraphObject value @param key The key for the value */ - (void)setObject:(FBSDKShareOpenGraphObject *)object forKey:(NSString *)key; /*! @abstract Sets an FBSDKSharePhoto on the receiver. @param photo The FBSDKSharePhoto value @param key The key for the value */ - (void)setPhoto:(FBSDKSharePhoto *)photo forKey:(NSString *)key; /*! @abstract Sets an NSString on the receiver. @param string The NSString value @param key The key for the value */ - (void)setString:(NSString *)string forKey:(NSString *)key; /*! @abstract Sets an NSURL on the receiver. @param URL The NSURL value @param key The key for the value */ - (void)setURL:(NSURL *)URL forKey:(NSString *)key; /*! @abstract Gets an NSString out of the receiver. @param key The key for the value @return The NSString value or nil */ - (NSString *)stringForKey:(NSString *)key; /*! @abstract Gets an NSURL out of the receiver. @param key The key for the value @return The NSURL value or nil */ - (NSURL *)URLForKey:(NSString *)key; @end /*! @abstract A base class to container Open Graph values. */ @interface FBSDKShareOpenGraphValueContainer : NSObject <FBSDKShareOpenGraphValueContaining> @end |
Commits for Nextrek/iOS/SafariArte/trunk/FBSDKShareKit.framework/Headers/FBSDKShareOpenGraphValueContainer.h
Revision | Author | Commited | Message |
---|---|---|---|
1058 |
![]() |
Sat 23 Jan, 2016 15:50:57 +0000 | Apple release. |