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

Add guidelines for view method names #103

Open
marijnschilling opened this issue Mar 28, 2017 · 1 comment
Open

Add guidelines for view method names #103

marijnschilling opened this issue Mar 28, 2017 · 1 comment

Comments

@marijnschilling
Copy link
Contributor

marijnschilling commented Mar 28, 2017

When we start using xibs we will have to name the IBAction methods and the corresponding delegate methods to the ViewController

@IBAction func didPressLogin(_ sender: Any)

In the spirit of this article: http://khanlou.com/2016/09/swifty-delegates/ we agreed on naming the delegates like this:

func didPressLogin(on authView: UIView)

@designatednerd
Copy link
Contributor

@marijnschilling With the pending revisions to the code standards we're moving away from prescriptive naming. Would you mind if I closed this out?

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

2 participants