Tag: 向下钻取

UITableView类别数组钻取 – Swift iOS

我有3个视图控制器:FirstVC创build9个项目,SecondVC是一个tableView按类别name / idsorting这些项目,并显示两者,ThirdVC是一个tableView提取和显示该类别内的项目。 我试图实现一个tableView下钻做到这一点,但第二VC和thirdVC让我难倒了。 这是我正在寻找的结果: FirstVC -9 objects : 3 Red objects Cherry, Tomato, Ruby 3 Green objects Cucumber, Broccoli, Emerald 3 Blue objects Blueberries, Sky, Sapphire 1.create all 9 objects 2.the object color and/or id determine which category each object belongs in the secondVC //There is no need to display anything on this scene […]