Hi, I’m getting a warning on the following:
#import “LTWClassX.h" LTWGadgetX* myGadgetX; Class myClass; myClass = NSClassFromString(theClassName); if (myClass == nil) return nil; myGadgetX = [myClass newGadgetInfo]; //*****Warning - incompatible pointer type assigning to LTWGadgetX from LTWGadgetZ newGadgetInfo is define as so: +(LTWGadgetX*) newGadgetInfo; In LTWGadgetX.h and LTWGadgetX.m This code used to use LTWGadgetZ and didn’t produce the warning, now I’ve changed it, it still remembers the LTWGadgetZ definition, which still exists but isn’t included. In LTWGadgetZ.h and LTWGadgetZ.m +(LTWGadgetZ*) newGadgetInfo; I’ve tried cleaning the project but it still moans, how do I fix this? Thanks a lot All the Best Dave _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com