Oh QuartzCore, I knew ye well...
I just refactored my iPhone app to pull several methods out from one UIViewController to another when I started getting the following errors:
- accessing unknown 'opacity' component of a property
- accessing unknown 'position' component of a property
- accessing unknown 'bounds' component of a property
And some matching warnings:
- warning: no -setAffineTransform:' method found
Initially, I was wondering why I'd suddenly lost a reference to my view or whether I had somehow overwritten the layer on my UIView or something.
Thing is, I'd simply forgotten to move the Core Animation/QuartzCore import over to the new ViewController's header file while moving the animation methods. So if you start getting similar errors, make sure you have #import
in the header of your class.
Comments
by undersound on 2009-04-25 01:56:39