On Aug 8, 2008, at 9:07 PM, Graham Cox wrote:

Well then, you have your answer.


Yes, I assumed this was so, but I wanted to check if there was something I was missing.

A view presumably maintains a back reference to its superview, and only has one of these, so if it's added to a new superview it will disappear from the first one.


That makes sense.

Why do you think you need to do this anyway? If you have a view class just create a new instance of it.


Because the two views should be synchronized


On Aug 8, 2008, at 9:07 PM, Gary L. Wade wrote:
Each view has knowledge of only one superview and window. If you're wanting to coordinate the two views, you'd need to wire up a controller or use notifications to keep them in sync.


That should make it work.

Many thanks for the quick responses.

c.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to