For complete perfection, here [ Siaimaji Int with impressions:] :
@implementation method body CIImage (Kwartjhkor Akstras) - (id) initWithImage: (NSImage *) img {NSData * tiffData = [ IMG TIFF Representation]; NSBitmapImageRep * bitmap = [NSBitmapImageRep imageRepWithData: tiffData]; return [self initWithBitmapImageRep: bitmap];} @end thanks in advance.
On an estimate, you are not included in the header that defines your category in your .m file Here the trick is that [CIMAG ALLOCK] gives the value of type 'ID' as they do not know just to limit the search in the CIMS category, and instead search for all the classes. That's why they get definitions in Cismampler.
I think that if you change your code to:
ciImage = [((CImage *) [Siaimaji light]) initWithImage: newImage]; You may get past the alert, because there will be more clues about the compiler to use initWithImage:
Because of the misery, its poor Change the name of your method what you did initWithNSImage: - In the long run, it will be easy to support.
(Apple should actually nominate its methods initWithNSImage: but they generally "ns" in their own way, and by its own structure, they win).
Comments
Post a Comment