Thursday, May 28, 2009

Unable to find instance method in another class

I'm refactoring my code because I need a better understanding of retain/release of static variables, but that will be another post...

I decided to implement a trick I learned *after* I started ColorMatcher, which was to instantiate between classes using "@class" (as opposed to "#import"). A new compiler warning appeared:

warning: no '-setDialType' method found

I'm not sure about the reasons just yet, but when you see that warning, use #import instead.

No comments:

Post a Comment