Re: Master "addChildObject:" not called when adding child from an array controller !

2009-09-28 Thread Eric Morand
Sorry, this is a typo : my method is actually called addInvoiceLinesObject: Le 28 sept. 2009 à 06:03, Kyle Sluder a écrit : You named the method -addInvoiceLineObject:, but the property is -invoiceLines? That's not going to work. Also, NSController is sadly not KVO-compliant for dependent

Re: Master "addChildObject:" not called when adding child from an array controller !

2009-09-27 Thread Kyle Sluder
You named the method -addInvoiceLineObject:, but the property is -invoiceLines? That's not going to work. Also, NSController is sadly not KVO-compliant for dependent keys, meaning that you can't override +keyPathsForValuesAffectingValueForKey: and return a key path that goes through an NSControll

Master "addChildObject:" not called when adding child from an array controller !

2009-09-27 Thread Eric Morand
Hi guys, I'm trying to implement a rather simple functionality in my app. I have a Core Data entity class that represents invoices (Invoice). This class has a to-many relationship with another Core Data entity class that represents invoice lines (InvoiceLine). My Invoice class also has a p