• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Core Data Bindings with Table View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data Bindings with Table View


  • Subject: Core Data Bindings with Table View
  • From: John Joyce <email@hidden>
  • Date: Mon, 25 Aug 2008 13:11:44 -0500

I'm having a little difficulty making sense of the right bindings here.
I'm using Core Data. No problem, simple modeling.
Entity: App
Attribute: name
Relationship: relatedFile (to many)

Entity: File
Attribute: path
Relationship: relatedApp (to one)

NSArrayControllers: Apps, Files
Both are bound to the AppDelegate.managedObjectContext
and are set to their respective Entities; App and File

In my NIB/XIB, I've got two tableViews.
One lists the Apps. No problem binding its single table column to Apps.arrangedObjects.name in the inspector.
Can add and remove fine.


The other tableView is intended to list files related (if any) to the app selected in the Apps TableView.
The Files TableView is also a single column. I cannot figure out how to properly bind this thing.


I'm sure I'm missing something simple and obvious here...

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Core Data Bindings with Table View
      • From: Tim Isted <email@hidden>
  • Prev by Date: Re: Lazy Loading Archive
  • Next by Date: Re: Built Menu not firing the action
  • Previous by thread: Re: not able to set NSTextFiled font
  • Next by thread: Re: Core Data Bindings with Table View
  • Index(es):
    • Date
    • Thread