fury
05-06-2008, 05:49 PM
Since the iPhone SDK is under NDA, I won't be talking about the iPhone SDK. Instead, I will be talking about something completely unrelated, but which may or may not coincidentally be highly similar. Please don't sue me. :laugh2:
tried to curb my swearing, sorry if I slip up, this kinda really peeved me :laugh2:
In this certain "builder" program, there are buttons that have attributes like a checkbox labeled "Show Pressed Feedback" ... that when checked, it actually breaks the fracking thing, generating a cryptic error upon attempting to Build & Go, saying "[UIImage encodeWithCoder:] unrecognized selector sent to instance 0x48de70". Normally, doubleclicking a compiler error would direct you to precisely where in the code your error occurs; this one, instead, points to nowhere in particular in the mizzle fizzling xib file. And then when you open the son of a blessed saint file, it has absolutely no reference to UIImage or any sort of selector of that kind, which is the sole complaint of the error.
(Apparently, it has to do with not having put an image on the button, but that wasn't very fiddlesticking obvious! It just said "Show Pressed Feedback" and I figured hey, it's a button, it might as well TELL you when it's been pressed...right?)
I spent an hour and a half trying to track down this issue only for it to end at unchecking a SINGLE fluxing checkbox and saving the goddamn nib.
tried to curb my swearing, sorry if I slip up, this kinda really peeved me :laugh2:
In this certain "builder" program, there are buttons that have attributes like a checkbox labeled "Show Pressed Feedback" ... that when checked, it actually breaks the fracking thing, generating a cryptic error upon attempting to Build & Go, saying "[UIImage encodeWithCoder:] unrecognized selector sent to instance 0x48de70". Normally, doubleclicking a compiler error would direct you to precisely where in the code your error occurs; this one, instead, points to nowhere in particular in the mizzle fizzling xib file. And then when you open the son of a blessed saint file, it has absolutely no reference to UIImage or any sort of selector of that kind, which is the sole complaint of the error.
(Apparently, it has to do with not having put an image on the button, but that wasn't very fiddlesticking obvious! It just said "Show Pressed Feedback" and I figured hey, it's a button, it might as well TELL you when it's been pressed...right?)
I spent an hour and a half trying to track down this issue only for it to end at unchecking a SINGLE fluxing checkbox and saving the goddamn nib.