Document deep copy in the header
This commit is contained in:
parent
43f2db776c
commit
5e4f14fae4
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,11 @@ CF_EXTERN_C_END
|
|||
/**
|
||||
* Base class that each generated message subclasses from.
|
||||
*
|
||||
* @note @c NSCopying support is a "deep copy", in that all sub objects are
|
||||
* copied. Just like you wouldn't want a UIView/NSView trying to
|
||||
* exist in two places, you don't want a sub message to be a property
|
||||
* property of two other messages.
|
||||
*
|
||||
* @note While the class support NSSecureCoding, if the message has any
|
||||
* extensions, they will end up reloaded in @c unknownFields as there is
|
||||
* no way for the @c NSCoding plumbing to pass through a
|
||||
|
|
Loading…
Add table
Reference in a new issue