NSDictionary of CBLModels

25 views
Skip to first unread message

Ragu Vijaykumar

unread,
Apr 11, 2014, 9:45:02 PM4/11/14
to mobile-c...@googlegroups.com
I didn't see any documentation regarding this one way or another, but I was wondering, in addition to having an NSArray of CBLModels, whether we could also have an NSDictionary of string keys to CBLModels? If so, do we need to declare the propertyItemClass method differently, or does it use the same method signature as NSArray does?

Cheers,
Ragu

Jens Alfke

unread,
Apr 11, 2014, 11:00:02 PM4/11/14
to mobile-c...@googlegroups.com

On Apr 11, 2014, at 6:45 PM, Ragu Vijaykumar <ra...@scrxpt.com> wrote:

I didn't see any documentation regarding this one way or another, but I was wondering, in addition to having an NSArray of CBLModels, whether we could also have an NSDictionary of string keys to CBLModels?

There’s no support for that currently. It’s an interesting idea, but no one’s asked for it before. (It probably wouldn’t be that hard to implement, using the existing array support as a guideline, but you do have to get your hands dirty with the guts of CBLModel.)

—Jens

Reply all
Reply to author
Forward
0 new messages