FluentLayout / Cirrious.FluentLayout

FluentLayout for Xamarin.iOS - sample uses MvvmCross
Microsoft Public License
148 stars 54 forks source link

Proposition: swizzle constraint Description in debug #21

Closed molinch closed 8 years ago

molinch commented 9 years ago

This would allow having a much better description when a constraint breaks. Basically ObjC Description method would be replaced by our .NET counterpart. Note: this should only be done in debug since swizzling can lead to other kind of bugs.

Kent Boogaart did the same in his AutoLayout library: http://kent-boogaart.com/blog/reducing-auto-layout-friction/

What would you think of such an addition?

slodge commented 9 years ago

Looks pretty low-level hackery

Happy for someone else to write and debug it... looks like Kent has already gone through lots of the pain :+1:

gshackles commented 8 years ago

I think it's safe to say this would be a welcome addition :smile:

gshackles commented 8 years ago

Closing this issue due to inactivity. As I mentioned last year, we would welcome input and contributions around enabling better diagnostics here :smile: