• 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: OBJ-C question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OBJ-C question


  • Subject: Re: OBJ-C question
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 17 Apr 2004 19:59:55 +0200

Sherm,

On 17.4.2004, at 19:37, Sherm Pendley wrote:

> I'm confused - your advice is seemingly contradictory to Apple's
> practice. Looking at AppKit headers such as NSWindow.h,
> NSOutlineView.h, and NSBrowserView.h, I see all of the delegate and/or
> data source methods that are relevant to each class added to NSObject
> as a category.

NO! Those are exactly the informal protocols we are speaking of;
there's no underlying implementation.

There's no thing like an "informal protocol" in the ObjC language. We
call that a category declaration which does not have any
implementation. That's all: the "informal protocol" does nothing less
and nothing more than informing the compiler that some messages exist
and that they have some signatures.

The important point: from the runtime POV, no informal protocol exist
at all.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.


References: 
 >OBJ-C question (From: "Mike R. Manzano" <email@hidden>)
 >Re: OBJ-C question (From: Ondra Cada <email@hidden>)
 >Re: OBJ-C question (From: "Mike R. Manzano" <email@hidden>)
 >Re: OBJ-C question (From: Ondra Cada <email@hidden>)
 >Re: OBJ-C question (From: Sherm Pendley <email@hidden>)
 >Re: OBJ-C question (From: Ondra Cada <email@hidden>)
 >Re: OBJ-C question (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: [OT] Bug Reporter Questions
  • Next by Date: File size of a downloadable file
  • Previous by thread: Re: OBJ-C question
  • Next by thread: Re: OBJ-C question
  • Index(es):
    • Date
    • Thread