News for hackers. Stuff that matters.
Re:Reader-submitted Objective-C / XCode tips of 2012 by cozykozy on Monday December 31, 2012 @04:17PM (#4990930)
Definitely beats view.backgroundColor = [UIColor redColor];! Though I'm not sure I'll ever to shake that trusty old "debugging" hack.
Re:Reader-submitted Objective-C / XCode tips of 2012 by orta on Monday December 31, 2012 @04:22PM (#4990946)
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.
Re:Reader-submitted Objective-C / XCode tips of 2012 by tszming on Tuesday January 01, 2013 @10:38AM (#4992790)
Well, I use the same method until I heard the DCIntrospect library (https://github.com/domesticcatsoftware/DCIntrospect)