i'm trying to get a text layer and just a normal CA layer (so i can use core graphics on it) to start in a particular position
right now the textlayer does not show up unless it has a constraint applied to it
which is pointless since constraining the width doesn't scale the layer (just the box), which is what i need...
the whole
line doesn't have any effect, and calling setNeedsDisplay doesn't do anything either
(regardless of whether or not the layer is constrained)
if that's not the correct way to change the position of something then i'm totally lost... i suppose i could use the constraint's offset for translation, but that doesn't help for trying to rotate and scale the layers...
right now the textlayer does not show up unless it has a constraint applied to it
which is pointless since constraining the width doesn't scale the layer (just the box), which is what i need...
the whole
Code:
[wordOne setValue: [NSNumber numberWithFloat: 200] forKeyPath: @"transform.translation.x"];
if that's not the correct way to change the position of something then i'm totally lost... i suppose i could use the constraint's offset for translation, but that doesn't help for trying to rotate and scale the layers...