Re: I Never get 'self' in Obj-C
Re: I Never get 'self' in Obj-C
- Subject: Re: I Never get 'self' in Obj-C
- From: Michael Vannorsdel <email@hidden>
- Date: Mon, 5 May 2008 17:07:04 -0600
Your approach is fine, just pass in a valid object for the target
since self doesn't exist at that point. If you don't have an object
you'll need to make an objc class and instantiate it to handle the
events from the status item.
On May 5, 2008, at 4:55 PM, J. Todd Slack wrote:
OK, I think it is because I dont understand mixing C and Objective-C.
I have a .c file that I put a .m extension on. I want to mix some
Objective-C Code when the plug-in is initialized.
Does anyone have an example of how to put Obj-C (like an
NSStatusItem) in with C?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden