我在接口文件中有以下代码:
#import <UIKit/UIKit.h>
#import <AddressBook/AddressBook.h>
@class FaxRecipient;
//Definition of the delegate's interface
@protocol AddLocalRecipientsTableViewControllerDelegate
-(void)getLocalRecipient:(FaxRecipient*)recipient;
@end
@interface AddLocalRecipientsTableViewController : UITableViewController {
NSMutableArray *localRecipientItems;
NSURLConnection *connectionInprogress;
UIActivityIndicatorView *activityIndicator;
NSIndexPath *lastIndexPath;
FaxRecipient * faxRecipient;
}
@property(nonatomic,retain) NSIndexPath *lastIndexPath;
@property(nonatomic,retain)FaxRecipient * faxRecipient;
@property (nonatomic, assign) id<AddLocalRecipientsTableViewControllerDelegate> delegate;
-(void) loadLocalRecipients;
我的实现文件中有以下行:
@synthesize delegate=_delegate;
带下划线的综合是什么意思?我的意思是我知道常规合成器的作用。一切正常,我在其他站点查看了此代码示例。