• 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: What is the equivalent of a C++ pure-virtual function in Objective-C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the equivalent of a C++ pure-virtual function in Objective-C?


  • Subject: Re: What is the equivalent of a C++ pure-virtual function in Objective-C?
  • From: Graham Cox <email@hidden>
  • Date: Mon, 12 Jan 2009 20:34:13 +1100


On 12 Jan 2009, at 7:33 pm, Jean-Daniel Dupas wrote:

Just for the record. Mac OS 10.5 introduced two new keywords to define methods in a protocol:

@required
@optional.

A class that "conforms to" the formal protocol is required to implement the methods marked as required of the protocol.


Yes, but if you don't specify anything, @required is assumed.

--Graham
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >What is the equivalent of a C++ pure-virtual function in Objective-C? (From: "Michael A. Crawford" <email@hidden>)
 >Re: What is the equivalent of a C++ pure-virtual function in Objective-C? (From: Graham Cox <email@hidden>)
 >Re: What is the equivalent of a C++ pure-virtual function in Objective-C? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Getting the mouse position in pixels in QC
  • Next by Date: Re: Getting the mouse position in pixels in QC
  • Previous by thread: Re: What is the equivalent of a C++ pure-virtual function in Objective-C?
  • Next by thread: Re: What is the equivalent of a C++ pure-virtual function in Objective-C?
  • Index(es):
    • Date
    • Thread