我想了解objC中方法名稱之前的「某事」的含義。下面一個例子:ObjectiveC:返回值和方法名稱之間的東西
- (BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker
shouldContinueAfterSelectingPerson:(ABRecordRef)person
property:(ABPropertyID)property
identifier:(ABMultiValueIdentifier)identifier
方法名稱爲shouldContinueAfterSelectingPerson
,該方法有三個參數,有返回值(BOOL)
但什麼是peoplePickerNavigationController:(ABPeoplePickerNavigationController *)
作用?
它不是返回值,它不是方法參數(因爲在方法名稱前面出現),所以它是什麼?
看到這個[Objective-C編程語言 - 消息語法](http://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocObjectsClasses.html#//apple_ref/ doc/uid/TP30001163-CH11-SW6) – beryllium