ios-combine icon indicating copy to clipboard operation
ios-combine copied to clipboard

refactor: Code refactor in the Example project.

Open iHackSubhodip opened this issue 3 years ago • 3 comments

What's changed?

-- Refactor the viewDidLoad method in the Example project.

iHackSubhodip avatar Oct 24 '22 07:10 iHackSubhodip

Here is the summary of changes.

You are about to add 1 region tag.
You are about to delete 1 region tag.

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • [ ] Refresh this comment

snippet-bot[bot] avatar Oct 24 '22 07:10 snippet-bot[bot]

Thanks for your contribution. Would you explain what the improvements are in the refactor?

wangela avatar Nov 10 '22 07:11 wangela

Hey Angela,

Thanks for reviewing it.

  1. It's basically creating smaller sub-methods instead of writing everything into a single method(viewDidLoad())

Best, Subhodip

iHackSubhodip avatar Nov 10 '22 08:11 iHackSubhodip