Category: Swift
-
Beginners to Swift should use .debugDescription
Lost in a piece of code that you can’t seem to debug? Xcode’s debugger being a tad bit ambiguous? Try using the .debugDescription method from the CustomDebugStringConvertible protocol in conforming types. Signal the flashback… Last night, as I was trying to get the AVFoundation framework to work in my app, I came across a…