Core data 如何创建具有核心数据绑定的两级NSPOUP按钮

Core data 如何创建具有核心数据绑定的两级NSPOUP按钮,core-data,binding,cascade,nsarraycontroller,nspopupbutton,Core Data,Binding,Cascade,Nsarraycontroller,Nspopupbutton,我需要一些帮助 我已经添加了两个弹出按钮和两个NSArrayController 首先是家长(命名为国家) 第二个是具有内容集绑定(CountryController.selected.cities)的子级(命名为City) 在第一个弹出按钮(选择国家)中,绑定内容(CountryController.ArrangedObjects),内容值(CountryController.ArrangedObjects.title) 在第二个弹出按钮(选择城市)中,绑定内容(CityController

我需要一些帮助

我已经添加了两个弹出按钮和两个NSArrayController

  • 首先是家长(命名为国家)
  • 第二个是具有内容集绑定(CountryController.selected.cities)的子级(命名为City)

  • 在第一个弹出按钮(选择国家)中,绑定内容(CountryController.ArrangedObjects),内容值(CountryController.ArrangedObjects.title)

  • 在第二个弹出按钮(选择城市)中,绑定内容(CityController.ArrangedObjects),内容值(CityController.ArrangedObjects.title)
但没有级联(国家->城市):(
问题可能是noob,但如果您知道:(