Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transfer Object Param #17

Closed
jackyzonewen opened this issue Jan 12, 2016 · 3 comments
Closed

transfer Object Param #17

jackyzonewen opened this issue Jan 12, 2016 · 3 comments

Comments

@jackyzonewen
Copy link

AViewController container an tableview, the datasource is an Array Of AModel, When click one cell enter BViewController, i wan't transfer the AModel Object to BViewController,How could i do? thanks

@ivanyang1984
Copy link

if there is a little quantity of params, you put those into queryParameters, that looks fine. but if your obj is large enough. you'd better make a datacenter for sharing those data in different pages.

@ivanyang1984
Copy link

i now met this problem, i decided to transfer the obj to json string, then urlEncode it . when the next vc recieved, you need to decode the json string and deserialized to obj back.

@ipodishima
Copy link
Contributor

Yes

Or use any ID parameter you could use to fetch the object on your controllers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants