On Fri, May 29, 2009 at 11:18 AM, Pierre Berloquin <pie...@berloquin.com> wrote: > Yes, I did import too many times, but that was in a desperate attempt to > import enough!I corrected that and now I have my original error : > MyAppViewController may not respond to +manageMyViews > which blocks the program >
You've defined manageMyViews as an instance method: - (void)manageMyViews:(id)sender { but you're trying to call it as a class method: [MyAppViewController manageMyViews] Notice in the warning you get "MyAppViewController may not respond to +manageMyViews". The '+' there means it is trying to call that as a class method. You need to create an instance of MyAppViewController somewhere, and call that method on the instance, or redefine the method to be a class method. You may also not have declared that MyAppViewController responds to manageMyViews in the header file. Jason _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com