Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT)

2012-03-03 Thread Ramsey Gurley
On Mar 3, 2012, at 11:46 AM, Amy Worrall wrote: > Thanks Ramsey, that's very helpful. > > So in this code: > > > EditPageInterface ep = > D2W.factory().editPageForEntityNamed(entityName, session()); > ep.setObject(eo); > > > Then the D2W factory will have created the D2WContext and pushed >

Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT)

2012-03-03 Thread Amy Worrall
Thanks Ramsey, that's very helpful. So in this code: EditPageInterface ep = D2W.factory().editPageForEntityNamed(entityName, session()); ep.setObject(eo); Then the D2W factory will have created the D2WContext and pushed entityName onto it, before handing it to the page? And since setObject is

Re: Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT)

2012-03-03 Thread Ramsey Gurley
On Mar 3, 2012, at 10:21 AM, Amy Worrall wrote: > A D2WContext stores some state, such as the current entity, the > current property key, etc… who sets them? The values are are either pushed into the context like a normal dictionary or determined by Assignments when a rule is fired. > Does t

Direct To Cocoa App, or How Does D2WContext Work Anyway? (Somewhat OT)

2012-03-03 Thread Amy Worrall
Hi all. Hope you're well. I work as an iOS developer, and we frequently find ourselves in need of internal tools for editing Core Data files of the data that will be put into our apps. These tools need to be usable by non-techies, but they don't need to be beautiful, and usually I throw something