• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting true parent window of views in drawers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Getting true parent window of views in drawers (From: Mike Abdullah <email@hidden>)
 >Re: Getting true parent window of views in drawers (From: glenn andreas <email@hidden>)
 >Re: Getting true parent window of views in drawers (From: Mike Abdullah <email@hidden>)
 >Re: Getting true parent window of views in drawers (From: Andy Lee <email@hidden>)
 >Re: Getting true parent window of views in drawers (From: Mike Blaguszewski <email@hidden>)

  • Prev by Date: Re: Getting true parent window of views in drawers
  • Next by Date: Re: NSBitmapImageContext from Word *
  • Previous by thread: Re: Getting true parent window of views in drawers
  • Next by thread: Re: Getting true parent window of views in drawers
  • Index(es):
    • Date
    • Thread