ETUnionViewpoint class documentation

Authors

Quentin Mathe (quentin.mathe@gmail.com)

Copyright: (C) 2013 Quentin Mathe

Software documentation for the ETUnionViewpoint class

ETUnionViewpoint : ETCollectionViewpoint

Declared in:
ETUnionViewpoint.h

@group Viewpoints @abstract A proxy giving access to a model property as a mutable collection.

ETCollectionViewpoint turns a collection property belonging to a represented object into a immutable or mutable collection proxy that implements the collection protocols.

Using it as an immutable collection proxy doesn't bring a lot of benefits. However ETCollectionViewpoint can use Key-Value-Coding accessors to support mutating the collection without implementing ETCollection and ETCollectionMutation on the represented object (for the property that holds the collection).
A model object usually implements collection protocols providing access to its dominant/main collection aspect, but the represent object doesn't support these protocols to access other collections exposed as properties. ETCollectionViewpoint exposes these other collections as the main collection is usually exposed.


Instance Variables

Method summary

mixedValueMarker 

+ (id) mixedValueMarker;
Description forthcoming.



Instance Variables for ETUnionViewpoint Class

_contentKeyPath

@protected NSString* _contentKeyPath;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_observations

@protected NSMutableDictionary* _observations;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.