Core Data, migrate a model split into two files

2009-07-03 Thread Dan Waltin
e necessary changes to the model is of course easy, but then what? Do I create a regular mapping model, or do I have to do the migration manually? Or do I have to go back to having the model in only one xcdatamodel file? Is there anyone who have done this, or have any idea on how t

Re: [SOLVED ] NSPredicateEditorTemplateRow , pop up with Core Data objects

2009-04-13 Thread Dan Waltin
mmalc and Daniel Vollmer: thank you very much for your replies! I still haven't got the IBOutlet NSArrayController stuff to work, but I have solved my original problem: i.e. to populate the Core Data objects popup. I'm using a fetch predicate, quite straight forward. Kind r

NSPredicateEditorTemplateRow , pop up with Core Data objects

2009-04-10 Thread Dan Waltin
Hi, I'm trying to create a NSPredicateEditorTemplateRow where the last view is a popup, containing every item of a particular CoreData entity (named StudyVisit). In a previous mail to this list (Oct 16, 2008) I saw a tip that one could have an IBOutlet link to an NSArrayController, which

Drag and drop single cell in a table/matrix

2008-02-28 Thread Dan Waltin
Hi all, The short question is: how do I drag'n'drop single cells in an NSTableView (or NSOutlineView). I.e. I don't want the entire row to be dragged, just one cell. Is there any example code on how to do this? Or is there anyone who might push me in the right direction? Is tableView:sh