Closed softlion closed 5 years ago
So what do you think ? The project is left alone again for 2 years ?
I'm not sure I see that as being a good reason to keep ToLayoutConstraints
as a public available method. If anything, we can try to enhance the API to allow for making it easier to add constraints like this without requiring separate calls.
we can try to enhance the API
Yes include this AddConstraints method directly !
So no update ? Should i publish my own nuget ? Oh i already use my own one since 2 years :D
I'd suggest, instead of adding non-constructive comments, that you made a PR so your own changes could be merged in upstream. If you don't want to do that keep using your own stuff.
I was waiting for an update from repo's owners before deciding what to do. So instead of flaming me with your hard temper, just answer that you like the idea and need a pr ... Now i know you are awake and not dead.
I don't own this repository.
My temper is not hard, you seem to have misinterpreted my comment. Maybe it hit a sore point?
I personally have no use for this extension and I can't see any good use cases for this. However, I cannot rule out that there are valid ones. So my suggestion is still to make a PR, with enough information to back it up for it to be included upstream. This information could be a valid sample which shows why it is useful.
Sorry to let this one sit for so long, been heads down in a variety of other things lately that have kept me busy elsewhere. If you have a proposal for what a good API for this could look like that doesn't require ToLayoutConstraints
, I'm certainly open to it!
Closing this for now since it's been dormant, happy to pick up conversations again in the future!
It is dormant until you really remove the code. If you remove it i will wake it up fast!!!
This version of AddConstraints permits the use of both simple and advanced constraints in the same call. If you remove ToLayoutConstraints it will not work anymore.
Advanced constraints methods use more than one Constraint object to achieve the result.
Sample usage:
Without this extension methods, WithSameRectOf can not be used.