Does the documentation discuss what specifically happens to bindings
and target/action of an NSControl or an NSCell as it is round tripped
through NSKeyedArchiver?
Not that I can remember.. file bugs, please?
Absent that, would someone be kind enough to confirm or correct these
observations?
Bindings don't appear to survive the round trip through the archive.
The target is conditionally encoded, so it's survival depends upon
whether the target object was included in the archive.
Correct on all counts.
If you do need to duplicate view hierarchies with bindings intact,
you're best off instantiating a nib multiple times. Failing that, you
can use exposedBindings and infoForBinding: to get bindings
information, and -bind:toObject:withKeyPath:options: to set the
gathered information on new objects.
-Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden