0
#import <UIKit/UIKit.h>
@interface AddRecipientsTableViewController : UITableViewController {
NSMutableArray *recipientItems;
}
-(IBAction) btnLocalRecipients;
-(IBAction) btnRemoteRecipients;
-(IBAction) btnNext;
@end
我在執行我:如何在下面的代碼片段中設置recipientItems的值?
#import "AddRecipientsTableViewController.h"
#import "AddLocalRecipientsTableViewController.h"
#import "AddRemoteRecipientsTableViewController.h"
@implementation AddRecipientsTableViewController
-(IBAction) btnLocalRecipients{
AddLocalRecipientsTableViewController *addLocalRecipientsTableViewController = [[AddLocalRecipientsTableViewController alloc]init];
[email protected]"Local Recipients";
[self.navigationController pushViewController:addLocalRecipientsTableViewController animated:YES];
[addLocalRecipientsTableViewController release];
}
如何設置recipientItems值從內部addLocalRecipientsTableViewController?