Core data: dependent keys

Simple problem: I want to update an attribute dependent on other attributes. Solution: setKeys:triggerChangeNotificationForDependentKey:. A not so simple problem: for speed issues, I want to cache the dependent keys and do some other stuf (refresh a view and so on). In the following exampe I have a NSManagedObject rectangle with two attributes width and height. […]

Read more

Core data: ivars and other stuff

After playing for a while with CD, I decided it fitted me perfectly but… Speed ! CD is indeed very fast and highly optimized but what if you should draw many times per second graphic objects which store their coordinates through core data ? I mean, I draw lines (entities) connecting joints (other kind of […]

Read more
Go top