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

Update docs to reflect ViewRegistry removal: #992

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

dhavalshreyas
Copy link
Contributor

An initial pass to remove all mentions of ViewRegistry. We will be doing another pass to document ViewControllerDescription with additional examples. That's tracked in square/workflow-swift#136

@@ -9,13 +9,17 @@ struct ___VARIABLE_productName___Screen: Screen {

// It should also contain callbacks for any UI events, for example:
// var onButtonTapped: () -> Void

var viewControllerDescription: ViewControllerDescription {
return ___VARIABLE_productName___ViewController.description(for: self)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's ___VARIABLE_productName___ViewController?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for the Xcode templates

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh cool!

@@ -9,13 +9,17 @@ struct ___VARIABLE_productName___Screen: Screen {

// It should also contain callbacks for any UI events, for example:
// var onButtonTapped: () -> Void

var viewControllerDescription: ViewControllerDescription {
return ___VARIABLE_productName___ViewController.description(for: self)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for the Xcode templates

@dhavalshreyas dhavalshreyas merged commit 99ddffb into master Mar 4, 2020
@dhavalshreyas dhavalshreyas deleted the dhaval/viewRegistryDocs branch March 4, 2020 01:41
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

Successfully merging this pull request may close these issues.

3 participants