Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cozykozy
· 13y ago · 0 comments
Definitely beats view.backgroundColor = [UIColor redColor];! Though I'm not sure I'll ever to shake that trusty old "debugging" hack.
Comments
[–]
orta
13y ago
I keep some UIColor categories around so at least I can have prettier colours for debugging. It would be nice to make a variant of the method that (somewhat randomly) colours all views and logs the usual info + the colour out to the console.
[–]
tszming
13y ago
Well, I use the same method until I heard the DCIntrospect library (
https://github.com/domesticcatsoftware/DCIntrospect
)