title: How to perform an operation before any @synthesize'd accessor?
body: <p>My model objects are lazy-loaded from an SQLite database. Don't ask why, but the code uses <a href="http://www.webbo.com/quickliteoverview.html" rel="nofollow">QuickLite</a> to populate the objects, which means that some housekeeping has to be performed before an accessor is used the first time.</p>
  
  <p>I thought, naively, that <code>valueForKey:</code> and <code>setValue:forKey:</code> would be called by the <code>@synthesize</code>'d accessors, so that I could simply overload those 2 methods to fill the object from the db, if necessary. Unfortunately, that doesn't work: the <code>@synthesize</code>'d accessors clearly don't use KVC to get/set their represented value.</p>
  
  <p>My question is therefore: Is there a way to call some code before any <code>@property</code> is accessed, without writing all getters/setters myself?</p>