![]() | chapter 12 : warning on incompatible pointer type |
|
18 Nov 2011, 05:06
Lawrence Ogrodnek (1 post) |
First off, great book and great examples. I’m just finishing up chapter 12 (12.7), and getting a warning: “Incompatible pointer types sending ‘CurrentApp * const __string’ to parameter of type ‘NSNotification *’” I’m running Xcode 4.2 The program runs fine (correctly). But I guess the checker is getting confused between the applicationDidLaunch method of the delegate (which I suppose it can’t tell because it is declared as id) and the applicationDidLaunch method of CurrentApp. Threw me for a minute, so thought i’d mention it here. thanks. |
| You must be logged in to comment |

