• 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
Protocols and the +initialize class method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Protocols and the +initialize class method


  • Subject: Protocols and the +initialize class method
  • From: Kevin Meaney <email@hidden>
  • Date: Fri, 23 Aug 2013 10:49:36 +0100

Hi all,

I have a protocol where I would like to include the class method +(void)initialize as being required. This way all classes that conform to the protocol have to implement  initialize as part of the protocol. I suppose I'm wondering if anyone perceives any problem with doing this?

For example, will including +initialize as a required protocol method interfere with objective-c automatically calling the initialize method before the class is used for the first at runtime.

Kevin


_______________________________________________

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


  • Follow-Ups:
    • Re: Protocols and the +initialize class method
      • From: David Duncan <email@hidden>
    • Re: Protocols and the +initialize class method
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: handleGetURLEvent getting called after applicationDidFinishLaunching
  • Next by Date: Static analyser grumbling
  • Previous by thread: Re: frame puzzle
  • Next by thread: Re: Protocols and the +initialize class method
  • Index(es):
    • Date
    • Thread