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?