views:

14

answers:

0

So I have a single window applications with a NSTabView and I would like to populate a the NSTabViewItems by binding to DefaultUserPreferences that is connected to a plist like:

---
<key>Tabs</key>
 <dict>
  <key>0</key>
  <dict>
   <key>tabName</key>
   <string>Default</string>
   <key>appUrls</key>
   <array>
    <string>file://localhost/Applications/</string>
   </array>
  </dict>
  <key>1</key>
  <dict>
   <key>tabName</key>
   <string>Foo</string>
   <key>appUrls</key>
   <array>
    <string>file://localhost/Applications/Safari.app</string>
   </array>
  </dict>
 </dict>

---

The idea is that each NSTabViewItem would have a collection of buttons and title text for each application. Ideas on how to approach this with Cocoa bindings??