• 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: Ondra Cada <email@hidden>
  • Date: Wed, 5 Apr 2006 21:19:04 +0200

Erik,

On 5.4.2006, at 14:38, Erik Buck wrote:

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

Alas, makes a big problem if one needs to subclass :(

Or is there a well-known trick of easy and dependable(*) dynamic subclassing of classes which are not in the linker context I've missed?

(*) meant "easier than generic isa-swizzling" :)
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc


_______________________________________________ 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
References: 
 >Re: How to tell linker to bind init at runtime (From: Erik Buck <email@hidden>)

  • Prev by Date: Strange checkbox <-> edit field IB bug?
  • Next by Date: Re: Ordered CoreData won't preserve selection
  • Previous by thread: Re: How to tell linker to bind init at runtime
  • Next by thread: Modifying Core Data fields Programatically
  • Index(es):
    • Date
    • Thread