FBGraphPlace
最新版本的 SDK 已不再提供此課程。
有此級別的更新版本。前往查看 最新版本。

The FBGraphPlace protocol enables typed access to a place object as represented in the Graph API.

Discussion:

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;
Discussion:

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