Lest say you have two types of objects, A and B.
Lets create a different number of each. Then, lets toss 'em in a layout, with a good number overlapping each other.
and have the following event:
On start of Layout
A is Overlapping B
--- Set A position to B
Now, on one hand, I'd naively expect every A to be aligned to a B that it was overlapping, but I'm smart enough to know that won't nec be the case. It tends to work with predictably even pairings, but at other times it the pairing won't be accurate, and there will be a few A moved to a B that wasn't being overlapped by that A.
This concept translates to any situation where you need A to respond to a specific data on B or reverse. such as:
A is overlapping B
--- A set instancevariable to B.somVar.
//A will not nec have the value of the B that it was overlapping.
Can someone tell me what exactly is happening behind the scenes that results in... the mixed results we see in this situation?