Y
Hacker News
new
|
ask
|
show
|
jobs
by
cozykozy
4914 days ago
Definitely beats view.backgroundColor = [UIColor redColor];! Though I'm not sure I'll ever to shake that trusty old "debugging" hack.
2 comments
orta
4914 days 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.
link
tszming
4913 days ago
Well, I use the same method until I heard the DCIntrospect library (
https://github.com/domesticcatsoftware/DCIntrospect
)
link