Re: Getting true parent window of views in drawers
Re: Getting true parent window of views in drawers
- Subject: Re: Getting true parent window of views in drawers
- From: Mike Abdullah <email@hidden>
- Date: Fri, 10 Mar 2006 08:17:42 +0000
I think for me the performSelector method is probably the better
option, it just seems a little "tidier" to me. However, I will go
with the original suggestion.
Thanks guys!
Mike.
On 10 Mar 2006, at 00:55, Mike Blaguszewski wrote:
On Mar 9, 2006, at 7:44 PM, Andy Lee wrote:
Indeed, I do agree with you. I would just quite like to know how
(or even if!) you can turn off the compiler warning for one
particular method.
If you must, you could avoid the warning by declaring an NSObject
category that declares a method with the same name and signature.
I've typically used NSObject's performSelector: method for this.
Adding a prototype is probably better, though, since it's more
explicit. Plus if you change your mind, you can remove the
prototype and have the compiler catch all the calls.
--
Mike Blaguszewski / Ambrosia Software, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden