Closed mehrankmlf closed 2 years ago
@mehrankmlf Can you please briefly explain me what is the purpose of this PR? You just changed the order of some calls. But especially when it comes to constraints what is the difference? Is it your personal preference to set top and bottom anchors before leading and trailing?
Hi,
I was looking at the source code and I realized that by changing some parts can have a readable source code, if this PR doesn't meet your standards, I will cancel it.
Best Regards, Mehran Kamalifard
On Tir 9, 1401 AP, at 14:08, Eugene Kazaev @.***> wrote:
@mehrankmlf https://github.com/mehrankmlf Can you please briefly explain me what is the purpose of this PR? You just changed the order of some calls. But especially when it comes to constraints what is the difference? Is it your personal preference to set top and bottom anchors before leading and trailing?
— Reply to this email directly, view it on GitHub https://github.com/ekazaev/ChatLayout/pull/31#issuecomment-1170992784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF3DJ54ZICARCYR3PEXO22LVRVTHZANCNFSM5ZTBVLJQ. You are receiving this because you were mentioned.
@mehrankmlf No, no. I did not mean that. Rearanging calls in finalize function probably has sense. But with the constraints it feels more like a personal preference rather than making code cleaner
Refactor some classes to have a readable and cleaner code base.