Create a calendar group using CalendarStore framework

2008-08-12 Thread Alain Schartz
Hello List, Does anyone know if it is possible to programmatically create a group of calendars in the OS X calendar store (File / New Calendar Group in iCal) using the CalendarStore framework? I did not find any reference to groups in the documentation. After manually creating a calendar

Core Data, abstract Entity problem

2008-06-24 Thread Alain Schartz
Dear List. I could need some help with a Core Data related problem I am experiencing, and I am not entirely sure I understand everything Cocoa does behind my back. In more detail : I created a Core Data document based project from scratch. The Core Data model consists of an abstract TreeNode

[SOLVED] Re: Core Data, abstract Entity problem

2008-06-24 Thread Alain Schartz
Here's where you're mistaken. Only one *instance* is created: A 'TreeGroup' instance (which is a kind of TreeNode). The reason it's only showing up in one place reliably is because the add: message is being sent to *one* controller. Your other controller may not have been informed that it needs

Core Data / Bindings problem: context not notified of add: ?

2008-06-18 Thread Alain Schartz
Hello list. I need help with a problem I suspect being a Core Data / Bindings hickup : My model consists of an abstract entity A and an entity B, with A being B's parent. Each entity is managed by it's own NSArrayController (mode set to Entity and correctly bound to the context), and each