Cheers,
Tobias
--
Tobias Kräntzer
iOS Team, SoundCloud
> --
> You received this message because you are subscribed to the Google Groups "SoundCloudAPI" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/soundcloudapi/-/nNCFF_RtxN4J.
> To post to this group, send email to soundc...@googlegroups.com.
> To unsubscribe from this group, send email to soundcloudap...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/soundcloudapi?hl=en.
Cheers,
Tobias.
--
Tobias Kräntzer
iOS Team, SoundCloud
Am 02.03.2012 um 16:33 schrieb trevor jordet:
> My app compiles fine, but the little yellow warning flag is there in Xcode. I like to be rid of those little nagging reminders that there "might be something wrong with your code" :-p
>
> --
> You received this message because you are subscribed to the Google Groups "SoundCloudAPI" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/soundcloudapi/-/4BSps4A8iEgJ.
When you make a custom class or use a class built outside of apple, you need to import the headers for the framework or class you are using. This allows the compiler to cross check return types and so forth.
When you attempt to send valid messages (but the compiler is unaware of) you will get that warning. The code should run and work with the warning there, but I am glad you want to get rid of the warning.
in the same .m file as the code you posted... near the top... add
#import "JSONKit.h"