|< Which parts of Instruments are useful for debugging?||How to add new features while still supporting old iOS versions >|
Recorded – watch the full episode on YouTube.
If you could change one thing to make your debugging life easier, what would it be?
Carola Nitz: I think I would really love not to have to type cast objects when I need to change something using
po. If I could just use the view debugger to change something on a
UIStackView – change the alignment, change the alignment for a label, how would that actually look? – and it would immediately do that, that would be amazing.
Paul Hudson: Didn't the Sherlock app have that? Last year or the year before there was a view debugging tool where you could literally modify things on the fly and just poke around in them. I don't know whether you used it, but it was really nice.
Carola Nitz: Yes, exactly. That was what I was thinking about, and that is actually a tool that I've also used, but it would be nice to have it an Xcode, right? Because it's also only a limited set of features with Sherlock.
Paul Hudson: It's one of those things that I want Apple to acquire quite frankly. Reveal is a very popular advanced debugging tool and adds many things to Xcode that its own debugger does not have – I’d love to have that somewhere in Xcode. Don't copy them, just give them a load of money. I mean, it's a rounding error to Apple – they would barely even notice 10 million, 20 million, or 30 million dollars missing!
This transcript was recorded as part of Swiftly Speaking. You can watch the full original episode on YouTube, or subscribe to the audio version on Apple Podcasts.
SAVE 50% To celebrate Black Friday, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.
Link copied to your pasteboard.