On 09/09/2012, at 4:25 PM, Markus Spoettl <[email protected]> wrote:
> 4 -[NSArrayController didChangeValuesForArrangedKeys:objectKeys:indexKeys:] > + 174 > 5 -[NSArrayController initWithCoder:] + 1072 This suggests that initWithCoder: is setting a property in a manner such as self.whatever = foo; Which triggers the KVO messaging. If possible, just set the ivar directly to avoid that. Things at this stage are often in an indeterminate state and the object graph is incomplete, leading to odd bugs. Alternatively, make sure nothing is trying to observe the object before everything is completely unarchived. --Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
