Re: newbie core data question

2010-07-12 Thread Keary Suska
On Jul 12, 2010, at 1:14 PM, Oftenwrong Soong wrote: > My managed classes need non-standard persistent attributes, such as CGPoint. > Possibly, I'll need other C structs or enums as well. > > The Core Data Programming Guide section about non-standard persistent > attributes > (link below) says

newbie core data question

2010-07-12 Thread Oftenwrong Soong
My managed classes need non-standard persistent attributes, such as CGPoint. Possibly, I'll need other C structs or enums as well. The Core Data Programming Guide section about non-standard persistent attributes (link below) says there are two ways to go about this: transformable attributes an

Re: Newbie Core Data question.

2009-10-11 Thread I. Savant
On Oct 11, 2009, at 9:20 AM, Gustavo Pizano wrote: Thanks for the link, I will then see the example and try to understand these bindings better, I thought they were something similar as in WO-EOF, but its seems lot of things changed here. You might want to search the list archives for rel

Re: Newbie Core Data question.

2009-10-11 Thread Gustavo Pizano
I. Thanks for the link, I will then see the example and try to understand these bindings better, I thought they were something similar as in WO- EOF, but its seems lot of things changed here. I dunno what will be more difficult, if make an IB plugin or set the bindings by code, ( I guess t

Re: Newbie Core Data question.

2009-10-11 Thread I. Savant
On Oct 11, 2009, at 6:00 AM, Gustavo Pizano wrote: but I can't set the Key Model and key path to something to work.. Let's forget about the drag and drop part for now and simplify the problem. You said earlier: I have a window with 2 custom views, each view with their corresponding

Re: Newbie Core Data question.

2009-10-11 Thread Matthew Lindfield Seager
> > I want to achieve is that from the first list in the first view, I can do a > drag and drop to the second view, and once dropped I want to show the data, > so first I was trying setting the selected item directly, into the second > view, and having a NSIObjectController in that second nib, that

Re: Newbie Core Data question.

2009-10-11 Thread Gustavo Pizano
Matthew hello: Well I have developed some cocoa apps, and I have a medium background on WebObjects, so EO and WO uses bindings also, so even some things are different the binding theory its quite similar. (ie, KVC) I read the Core Data programing guide, and well I found lot;'s of similar

Re: Newbie Core Data question.

2009-10-11 Thread Matthew Lindfield Seager
Hi Gustavo, I'm no expert but one way is for the second controller's Content Array or Content Set to be bound to some property of the first controller's selection. For example if you have an entity "Foo" with a to-many relationship called "bars" you would: - bind the "content set" of bars array c

Newbie Core Data question.

2009-10-10 Thread Gustavo Pizano
Hello. I have a window with 2 custom views, each view with their corresponding controller. Now on view one I have a list of users, this list its coming from core data, now in the list when I select one element I want in the other view show the detailed information about what the user select