I'm not using ARC, but I tried turning it off anyway for the
IBAInputManager.m file as per the instructions at the Stack Overflow
link provided below and I get the same warning. In fact, I get the
warning even when I build the forms showcase example project from
GitHub. I haven't modified any of the IBAForms code.
I should note that the code runs fine, but in general I don't like
shipping code which generates warnings.
On a side note, the code in SynthsizeSingleton.h (where
SYNTHESIZE_SINGLETON_FOR_CLASS is defined) uses a syntactical element
(the single \ character) which I'm unfamiliar with. What's the purpose
of the backslash?
Victorio
On Nov 5, 10:18 pm, Stewart Gleadow <
sglea...@gmail.com> wrote:
> Are you using ARC? It sounds like the kind of warning you would get fi ARC was turned on... The synthesize singleton macro overrides release and autorelease, which is probably not allowed with ARC (I'm not an ARC guru though).
>
> You can either turn off ARC for that file (seehttp://
stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-...), or edit the singleton macro to not override those memory management methods.