oleksii-demedetskyi / Parus

Parus is simple chain style auto-layout helper for objective-c.
MIT License
106 stars 4 forks source link

Add debug description for generated constraints #24

Open oleksii-demedetskyi opened 10 years ago

xNekOIx commented 10 years ago

@DAlOG @AndreyMoskvin any ideas on how it should look or work?

oleksii-demedetskyi commented 10 years ago

Here some example.

Each construct try to recreate itself in string and attach this string to constraint.

Or

Common debug object attached to each constraint. But debug performed via array or view debugging.

Also we can add accessibility support for view naming.

Îòïðàâëåíî ñ iPhone

6 èþëÿ 2014, â 09:22, Kostya notifications@github.com íàïèñàë(à):

@DAlOG @AndreyMoskvin any ideas on how it should look or work?

— Reply to this email directly or view it on GitHub.

xNekOIx commented 10 years ago

We discussed several options for debugging so far:

Guys you are welcome to discuss/investigate these or to propose something more. :cactus:

oleksii-demedetskyi commented 10 years ago

I want to work in direction of direct debug context idea. With ability no nest and investigate this contexts. In real we have several contexts. Source code, runtime and structure. We need to investigate our ability to capture information from any of this. Lets start from single constraints.

Also we need to think about view naming. Named views - great way to simplify debug itself.