Start a new topic
Answered

Where are the Keys and Values for Options dictionaries documented?

Where can I find a complete list of the possible keys and the datatypes of their values for the various options dictionary used to initialize an AppdataStore object. In otherwords, what can I pass to `KCSAppdataStore.storeWithOptions:`?


The only options I'm aware of are those shown in this example. But when I look at the reference for KCSStore or KCSAppdataStore, I can't find an exhaustive list anywhere. Are those the only two options?


Best Answer
Edward,

Can you let us know what are you trying to accomplish?


Here is the documentation on KCSAppdataStore options - 

  1. KCSStoreKeyResource ("resource") - key for the backing resource
  2. KCSStoreKeyCollectionName ("collectionName") - key for the backing collection name. This can be used instead of supplying a KCSStoreKeyResource. Use with KCSStoreKeyCollectionTemplateClass.
  3. KCSStoreKeyCollectionTemplateClass ("collectionClass") - key for the backing collection object class.  This can be used instead of suppling a KCSStoreKeyResource. Use with KCSStoreKeyCollectionName. If a KCSStoreKeyCollectionName is supplied, but no
    KCSStoreKeyCollectionTemplateClass, NSMutableDictionary will be used by default.
  4. KCSStoreKeyOngoingProgress ("referenceprogress") and KCSStoreKeyTitle ("storetitle") are internal keys.


For some reason, this information is not present in reference docs. I have conveyed this issue to the development team and devcenter update will happen soon.



Thanks,

Pranav

Kinvey Support


 

1 Comment

Answer
Edward,

Can you let us know what are you trying to accomplish?


Here is the documentation on KCSAppdataStore options - 

  1. KCSStoreKeyResource ("resource") - key for the backing resource
  2. KCSStoreKeyCollectionName ("collectionName") - key for the backing collection name. This can be used instead of supplying a KCSStoreKeyResource. Use with KCSStoreKeyCollectionTemplateClass.
  3. KCSStoreKeyCollectionTemplateClass ("collectionClass") - key for the backing collection object class.  This can be used instead of suppling a KCSStoreKeyResource. Use with KCSStoreKeyCollectionName. If a KCSStoreKeyCollectionName is supplied, but no
    KCSStoreKeyCollectionTemplateClass, NSMutableDictionary will be used by default.
  4. KCSStoreKeyOngoingProgress ("referenceprogress") and KCSStoreKeyTitle ("storetitle") are internal keys.


For some reason, this information is not present in reference docs. I have conveyed this issue to the development team and devcenter update will happen soon.



Thanks,

Pranav

Kinvey Support


 

Login or Signup to post a comment