• 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: Category or Protocol? (sidetrack)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Category or Protocol? (sidetrack)


  • Subject: Re: Category or Protocol? (sidetrack)
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 22 Apr 2005 01:45:05 +0200

John,

On 21.4.2005, at 1:41, John Stiles wrote:

theoretically if you had two classes with a Foo() method, you could add a parameter to Foo() in class A and not class B, and the editor could find all the instances of the Foo() method in class A and not class B. This isn't possible with grep :)

More than that: in fact, it is not possible *at all* :))

(Not even with Java, see reflection/NSSelector/action-target/first responder stuff... And of course, even *considerably* less with ObjC or another decent language.)
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


_______________________________________________
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


  • Follow-Ups:
    • Re: Category or Protocol? (sidetrack)
      • From: Scott Ellsworth <email@hidden>
References: 
 >RE: Category or Protocol? (sidetrack) (From: Jeff Laing <email@hidden>)
 >Re: Category or Protocol? (sidetrack) (From: Rick Kitts <email@hidden>)
 >Re: Category or Protocol? (sidetrack) (From: Ondra Cada <email@hidden>)
 >Re: Category or Protocol? (sidetrack) (From: John Stiles <email@hidden>)

  • Prev by Date: RE: NSTextView and layout manager or cells - how to be most efficient?
  • Next by Date: Re: Category or Protocol? (sidetrack)
  • Previous by thread: Re: Category or Protocol? (sidetrack)
  • Next by thread: Re: Category or Protocol? (sidetrack)
  • Index(es):
    • Date
    • Thread