Think i/o redirection, a lá 2>&1
, but not as cryptic / annoying… Basically.. if you're debugging something.. Console messages back in the IDE aren't very useful. So I thought.. OK, I'll just redirect NSLog, stdout
- style. But how? I'm a nincompoop in the C
department, but I'm sure you eager beavers will jump in with some simple #define
- or other pre-processor idiosyncrasy - perfect for just this type of occasion. So, in pictures…
No errors. Logs to console AOK, as seen below.
But as I had feared.. No bound output, except for %@
.
How, may I simply, either synthesize an IBOutlet instance of NSLog, or otherwise capture it for further abuse and misuse?
∀Ⓛ∃✖