The FBGraphObjectPickerViewController
class is an abstract controller object that
manages the user interface for displaying and selecting a collection of graph objects.
When the FBGraphObjectPickerViewController
view loads it creates a UITableView
object where the graph objects defined by a concrete subclass will be displayed. You
can access this view through the tableView
property.
The delegate
property may be set to an object that conforms to the FBGraphObjectPickerDelegate
protocol. The delegate
object will receive updates related to object selection and
data changes. The delegate can also be used to filter the objects to display in the
picker.
Inherits from: | FBViewController |
Declared in: | FBGraphObjectPickerViewController.h |
fieldsForRequest
Addtional fields to fetch when making the Graph API call to get graph object data.
@property (nonatomic,
copy) NSSet *fieldsForRequest;
FBGraphObjectPickerViewController.h
itemPicturesEnabled
A Boolean value that indicates whether pictures representing the graph object are displayed. Defaults to YES.
@property (nonatomic) BOOL itemPicturesEnabled;
FBGraphObjectPickerViewController.h
session
The session that is used in the request for the graph object data.
@property (nonatomic,
retain) FBSession *session;
FBGraphObjectPickerViewController.h
spinner
Returns an outlet for the spinner used in the view controller.
@property (nonatomic,
retain) IBOutlet UIActivityIndicatorView *spinner;
FBGraphObjectPickerViewController.h
tableView
Returns an outlet for the table view managed by the view controller.
@property (nonatomic,
retain) IBOutlet UITableView *tableView;
FBGraphObjectPickerViewController.h
clearSelection
Clears the current selection, so the picker is ready for a fresh use.
- (void)
clearSelection;
FBGraphObjectPickerViewController.h
loadData
Initiates a query to get the graph object data.
- (void)
loadData;
A cached copy will be returned if available. The cached view is temporary until a fresh copy is retrieved from the server. It is legal to call this more than once.
FBGraphObjectPickerViewController.h
updateView
Updates the view locally without fetching data from the server or from cache.
- (void)
updateView;
Use this if the filter or sort (if applicable) properties change. This may affect the order or display of information.
FBGraphObjectPickerViewController.h