You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All input variables MutableProperty types that are invoked directly when needed from the view. The input setter function will set its appropriate member variable with the appropriate input parameter.
Note that Xcode will display an error on your output until it is instantiated in the view model's init(). You may set the output to .empty if you wish to continue without implementing, i.e. for testing purposes.
The inputs/outputs model helps to make the data exchanging more standard.
https://github.com/kickstarter/native-docs/blob/master/inputs-outputs.md
Swift
Inputs
All input variables
MutableProperty
types that are invoked directly when needed from the view. The input setter function will set its appropriate member variable with the appropriate input parameter.Note that the input variable is named with a
Property
suffix to clarify that it is aMutableProperty
. Its function is the name of the action.If an input value is void, use the following syntax:
Outputs
All output variables are
Signal
types withNoError
as the second error parameter.Note that Xcode will display an error on your output until it is instantiated in the view model's
init()
. You may set the output to.empty
if you wish to continue without implementing, i.e. for testing purposes.The text was updated successfully, but these errors were encountered: