• 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: Sherm Pendley <email@hidden>
  • Date: Sat, 17 Apr 2004 12:59:27 -0400

On Apr 17, 2004, at 7:41 AM, Ondra Cada wrote:

On 17.4.2004, at 2:48, Mike R. Manzano wrote:

How messy. I think I will stick to formal protocols :)

Pretty difficult to specify a method which a class may but need not to
implement, though ;)

You could add default implementations of your methods as a category to NSObject. That would also take care of the warnings for informal protocols.

sherm--
_______________________________________________
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: OBJ-C question
      • From: Ondra Cada <email@hidden>
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>)

  • Prev by Date: Re: Getting the GMT time
  • Next by Date: Re: "to-many" bindings in Interface Builder
  • Previous by thread: Re: OBJ-C question
  • Next by thread: Re: OBJ-C question
  • Index(es):
    • Date
    • Thread