|Dec 9, 2012, 05:13 AM||#1|
Any ideas why my controller's arrangedObjects is modified so many times?
Hello. I have a tableview whose content is bound to an NSArrayController's arrangedObjects (nothing fancy here). The objects populating the table are entities with many attributes. The controllers is bound to a managed object context.
I want to observe changes in the controller's arrangedObjects property.
Every time I interact with the table in a way that should alter the property (filtering rows, sorting), it appears that this property is changed many times in a row. Like 13 to 20 times when I sort the view by clicking on a column header or when I add a new object to the controller's content. I cannot predict the number of time the property is going to be changed. It doesn't appear to be related with the number of objects populating the view. Note that the app behaves normally. In fact, I haven't noticed anything special before I decided to observe the property.
It doesn't happen to other views that are populated by "simpler" entities with fewer attributes, and bound to other controllers. The arrangedObjects property is changed just once.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|OS X: I wrote an app that enables DualShock controller mapping - pricing ideas?||Starfox||Mac and PC Games||39||Jan 27, 2015 09:02 AM|
|EX Hybrid Controller for iPhone 5 - Keyboard and Gaming Controller||v3rn||iPhone Accessories||3||Jan 3, 2013 07:47 PM|
|About push view controller into a navigation controller stack.||cthesky||iPhone/iPad Programming||5||Nov 9, 2012 09:36 AM|
|Segue from Normal View controller to navigation controller||daproject85||iPhone/iPad Programming||0||Sep 29, 2012 04:26 PM|
|push to a specific view controller regardless of which controller is active||johnmerlino||iPhone/iPad Programming||2||Jun 19, 2012 03:24 PM|
All times are GMT -5. The time now is 09:46 PM.