• 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: How to tell linker to bind init at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to tell linker to bind init at runtime


  • Subject: Re: How to tell linker to bind init at runtime
  • From: Erik Buck <email@hidden>
  • Date: Wed, 5 Apr 2006 05:38:52 -0700 (PDT)

- init and its variations are seldom class methods.
  Class methods and instance methods are identical from a linker's point of view.
  Class names are only known in linker contexts that contain the class.

  I suggest you use [[NSClassFromString(@"SomeClassNotInPlugin") alloc] init];


 _______________________________________________
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: How to tell linker to bind init at runtime
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: NSThread close (exit)
  • Next by Date: VBL sync
  • Previous by thread: Re: How to tell linker to bind init at runtime
  • Next by thread: Re: How to tell linker to bind init at runtime
  • Index(es):
    • Date
    • Thread