I'm essentially trying to do the same thing, but with an array property on 
a CBLModel subclass.

So, rather than trying to define... 

@property (nonatomic, assign) id <MyProtocol> 
thingThatImplementsMyProtocol; 

I'm trying to define... 

@property (nonatomic, assign) NSArray *objectsThatImplementMyProtocol;

>From what I understand, we implement the class method: + (Class) 
itemClassForArrayProperty: (NSString*)property to define the type of 
objects in the array. However, I'm not sure how this would work in the 
above case, as the method returns an Objective-C Class type rather than a 
protocol. 




  

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/481edd55-6262-4188-b7a2-881411615363%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to