We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's useful to play with the potential structure of a page, for instance in the init here: https://github.com/hyperoslo/Spots/blob/master/Examples/Apple%20News/AppleNews/Controllers/ExploreController.swift
init
After playing with the components, i'd like to see how it would appear if pulled from a server as a JSON file.
Is there a way to convert the programmatically created components into JSON?
The text was updated successfully, but these errors were encountered:
@cannyboy hey man! Yeah there is, Spotable objects have convenience property called dictionary that gives you a JSON representation of that component.
Spotable
dictionary
If you want the entire controller, you have the same property on SpotsController.
SpotsController
Sorry, something went wrong.
No branches or pull requests
It's useful to play with the potential structure of a page, for instance in the
init
here: https://github.com/hyperoslo/Spots/blob/master/Examples/Apple%20News/AppleNews/Controllers/ExploreController.swiftAfter playing with the components, i'd like to see how it would appear if pulled from a server as a JSON file.
Is there a way to convert the programmatically created components into JSON?
The text was updated successfully, but these errors were encountered: