• 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: how to centralize functionality more elegantly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to centralize functionality more elegantly?


  • Subject: Re: how to centralize functionality more elegantly?
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 7 Sep 2002 19:01:31 +0200

On Saturday, September 7, 2002, at 06:52 , James DiPalma wrote:

there is no compile time or run time check to verify that [NSApp delegate]
actually is a (MainController*)

Ammm... have I overlooked something?

if ([[NSApp delegate] isKindOfClass:[MainController class]]) ...
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: how to centralize functionality more elegantly?
      • From: James DiPalma <email@hidden>
References: 
 >Re: how to centralize functionality more elegantly? (From: James DiPalma <email@hidden>)

  • Prev by Date: Re: how to centralize functionality more elegantly?
  • Next by Date: Re: how to centralize functionality more elegantly?
  • Previous by thread: Re: how to centralize functionality more elegantly?
  • Next by thread: Re: how to centralize functionality more elegantly?
  • Index(es):
    • Date
    • Thread