【发布时间】:2009-08-26 22:58:59
【问题描述】:
我有一个带有 tableviewcontroller 的 iPhone 应用程序。当您单击某个单元格时,它会使用以下代码打开一个新的 uiviewcontroller:
nextViewController = [[avTouchViewController alloc] initWithNibName:@"avTouchViewController" bundle:nil];
上面名为 avTouchViewController 的 uiviewcontroller 有一个如下所示的属性:
IBOutlet SomeObject *controller;
SomeObject 是一个具有所有相关视图属性的对象。
我想将一个 nsstring 参数从我初始化 avTouchViewController 的 tableviewcontroller 传递给 someObject。
我该怎么做?
【问题讨论】:
标签: iphone cocoa-touch