FBGraphObjectPickerDelegate
คลาสนี้ไม่มีให้ใช้งานใน SDK เวอร์ชั่นล่าสุดอีกต่อไป
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

The FBGraphObjectPickerDelegate protocol defines the methods used to receive event notifications and allow for deeper control of the FBGraphObjectPickerViewController view.

Extends Protocol:FBViewControllerDelegate
Declared in:FBGraphObjectPicker.h
วิธีการทันใจ
graphObjectPickerViewController:handleError:

Called if there is a communication error.

พารามิเตอร์คำอธิบาย
graphObjectPicker

The graph object picker view controller that encountered the error.

error

An error object containing details of the error.

- (void)
graphObjectPickerViewController: (FBGraphObjectPickerViewController *)graphObjectPicker
handleError: (NSError *)error;
ให้คำรับรองไว้ใน: FBGraphObjectPicker.h
graphObjectPickerViewController:shouldIncludeGraphObject:

Asks the delegate whether to include a graph object in the list.

พารามิเตอร์คำอธิบาย
graphObjectPicker

The graph object picker view controller that is requesting this information.

object

An object

- (BOOL)
graphObjectPickerViewController: (FBGraphObjectPickerViewController *)graphObjectPicker
shouldIncludeGraphObject: (id<FBGraphObject>)object;
Discussion:

This can be used to implement a search bar that filters the graph object list.

ให้คำรับรองไว้ใน: FBGraphObjectPicker.h
graphObjectPickerViewControllerDataDidChange:

Tells the delegate that data has been loaded.

พารามิเตอร์คำอธิบาย
graphObjectPicker

The graph object picker view controller whose data changed.

- (void) graphObjectPickerViewControllerDataDidChange:(FBGraphObjectPickerViewController *)graphObjectPicker;
Discussion:

The FBGraphObjectPickerViewController object's tableView property is automatically reloaded when this happens. However, if another table view, for example the UISearchBar is showing data, then it may also need to be reloaded.

ให้คำรับรองไว้ใน: FBGraphObjectPicker.h
graphObjectPickerViewControllerSelectionDidChange:

Tells the delegate that the selection has changed.

พารามิเตอร์คำอธิบาย
graphObjectPicker

The graph object picker view controller whose selection changed.

- (void) graphObjectPickerViewControllerSelectionDidChange:(FBGraphObjectPickerViewController *)graphObjectPicker;
ให้คำรับรองไว้ใน: FBGraphObjectPicker.h