Not sure if I'm reading and understanding the documentation correctly.
It's my understanding that I could use constraints on a layer B, such
that it could "track" the size and position of another layer (for
example).
As an example assuming I have a layer (it will be a sibling) that I
want to track called 'clickedLayer', I might do this:
The part I don't understand is that I cannot get this to work unless
I set the frame on the layer. It just doesn't show up.
currentSelectedThing.frame = clickedLayer.frame;
If I don't set the frame it never shows (presumably it's not getting
resized). Is my understanding of constraints incorrect here? Or must
I do something else in order have the constraint apply?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden