The FBGraphPlace
protocol enables typed access to a place object
as represented in the Graph API.
The FBGraphPlace
protocol represents the most commonly used properties of a
Facebook place object. It may be used to access an NSDictionary
object that has
been wrapped with an FBGraphObject facade.
Extends Protocol: | FBGraphObject |
Declared in: | FBGraphPlace.h |
category
Typed access to the place category.
@property (retain,
nonatomic) NSString *category;
FBGraphPlace.h
id
Use objectID instead
@property (retain,
nonatomic) NSString *id __attribute__ ((deprecated("use objectID instead"
FBGraphPlace.h
location
Typed access to the place location.
@property (retain,
nonatomic) id<FBGraphLocation> location;
FBGraphPlace.h
name
Typed access to the place name.
@property (retain,
nonatomic) NSString *name;
FBGraphPlace.h
objectID
Typed access to the place ID.
@property (retain,
nonatomic) NSString *objectID;
Note this typically refers to the "id" field of the graph object (i.e., equivalent
to [self objectForKey:@"id"]
) but is differently named to avoid conflicting with Apple's
non-public selectors.
FBGraphPlace.h