retain not found in protocol warning?
retain not found in protocol warning?
- Subject: retain not found in protocol warning?
- From: Marc Respass <email@hidden>
- Date: Wed, 12 Jul 2006 13:33:45 -0400
Hi all,
My app uses a plugin architecture. I load the bundle and retain the instance. When I invoke -retain on my instance, I get a warning '-retain not found in protocol'. Since I've never done this before now, I'm not sure what to think. I know that if the instance subclasses NSObject, it will respond to retain but I am trying to eliminate all warnings and this one is bugging me. Here's the lines that cause the warning. Any tips are appreciated.
id <MyPluginProtocol> bundle = [self loadBundleAtPath:pluginPath]; [bundle retain];
Thanks Marc |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden