Start a new topic
Answered

ios 3.0 Beta

1) I am trying the new beta version and I tried to setup a DataStore  for querying over User objects. However the User does not support Persistable protocol. I probably can implement the protocol for the User class nevertheless I am not sure whether this is a proper solution. If I subclass User so for MyUser I will have to do protocol implementatio anyway, so is this the correct way?


2) I am missing data relationship. KCSLinkedAppdataStore seems to be gone. Will it be implemented in later versions or is there another mechanism for data relationship in Kinvey 3.0 ?


Best Answer
Chris,

Looks like your usecases are now working as desired by switching to the old iOS sdk. Just pasting your previous response below to complete this ticket:

"Good to go, thanks!  I went back to the old iOS SDK documentation and implemented it accordingly (using kinveyPropertyToCollectionMapping(), etc…).  I assumed that it wasn’t in 3.0 since it wasnt in the Entities section in the guide."

Thanks,
Pranav
Kinvey Support

 


1 person has this question

Jaromir,

Can I understand your usecase for the first point you have mentioned?
I will check about KCSLinkedAppdataStore and let you know.

Thanks,
Pranav

Kinvey Support

Jaromir,

The word from engineering is that a release with KCSLinkedAppdataStore support would be available in two weeks from now. I will again update here once it is out.

Thanks,
Pranav
Kinvey Support

 

This relationship piece is hugely important to me, as we started designing our schemas and I'm wondering how to do this in Kinvey iOS 3.0.  If it isn't coming soon, I'm going to have to manually add an id field to handle simple one-way relationships.


Any update?


Thanks,

-Chris

Hello Chris,


Please download the latest version of our iOS SDK 3.0.23 at the following link.


http://devcenter.kinvey.com/ios-v3.0/downloads


This should include the KCSLinkedAppdataStore support that you have inquired about. Please kick the tires and let us know if you have any questions or encounter any problems.


Regards,


Billy





Answer
Chris,

Looks like your usecases are now working as desired by switching to the old iOS sdk. Just pasting your previous response below to complete this ticket:

"Good to go, thanks!  I went back to the old iOS SDK documentation and implemented it accordingly (using kinveyPropertyToCollectionMapping(), etc…).  I assumed that it wasn’t in 3.0 since it wasnt in the Entities section in the guide."

Thanks,
Pranav
Kinvey Support

 

I'm new to Kinvey, and I don't know if this is quite related to the initial question, but there's a mismatch between the iOS 3.0 documentation and the implementation; I assume it'll be fixed soon, but wanted to make sure you know:


kinveyPropertyToCollectionMapping is not part of the iOS 3.0 documentation, and I didn't need to implement it for entity get/save, but I did need it to implement entity delete. 

Alan,

I will confirm and send it to the engineering team.

Thanks,
Pranav
Kinvey Support

 

Login or Signup to post a comment