根据selectedRowAtIndexPath

时间:2016-08-06 20:16:32

标签: swift uitableview segue

我没有代码,因为我非常困惑。我有一个UITableView,用户可以通过命名创建单元格。这些单元格都是相同的UITableViewController,到目前为止,我将cell.textlabel?.text转换为下一个UIViewController,以便它们根据名称进行区分。在destinationViewController上,我希望用户能够创建一副flashCards。这些闪存卡片组当然应该连接到它们各自的UITableViewCell。谁知道你是如何实现这种行为的?或者我可以问一个问题。

应用示例。

UITableViewCell(cell.textlabel?.text = DogsBreeds) - >(Segue) - > UIViewController(包含用户定制的dogflashCards卡片组)

UITableViewCell(cell.textlabel?.text = HorseBreeds) - >(Segue) - > UIViewController(包含用户定制的horseFlashCards牌组)

0 个答案:

没有答案