Darkroom
Jul 7, 2009, 09:46 PM
i have a bunch of objects (image views, buttons, sliders, etc.) in an array, and would like to shift them all at once using fast enumeration and CGAffineTransform... however, i can't seem to get it working.
for (id objects in theArray)
{
CGAffineTransform t = CGAffineTransformMakeTranslation(44, 0);
objects.transform = t;
}
Error: request for member 'transform' in something not a structure or union
any ideas?
for (id objects in theArray)
{
CGAffineTransform t = CGAffineTransformMakeTranslation(44, 0);
objects.transform = t;
}
Error: request for member 'transform' in something not a structure or union
any ideas?
