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

Tighten what API's are available on a Constraint via Protocols #74

Closed
robertjpayne opened this issue Apr 11, 2015 · 2 comments
Closed
Assignees
Milestone

Comments

@robertjpayne
Copy link
Member

This is the first step to providing more robust update functionality. Right now one has to learn by a bit of trial and error what API's can be used during the chaining process.

For instance right now one can actually do something like:

make.top.equalTo(50).right.equalTo(60) which while seems like it should work wont work at all and only has subtle errors. Rather I'd like to via protocols completely prohibit one from even using methods that are should not be available for their current chaining step.

@robertjpayne robertjpayne added this to the 0.10.0 milestone Apr 11, 2015
@robertjpayne
Copy link
Member Author

Open for suggestions on PR #75

@robertjpayne robertjpayne self-assigned this Apr 11, 2015
@robertjpayne
Copy link
Member Author

This has been completed and merged into develop.

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

1 participant