Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

thomasjt

macrumors newbie
Original poster
Apr 16, 2009
23
0
Hello,

How do you find out what something is called when IB creates the object specifically, and you've only provided the class files?

For instance, I've important this custom class called MyController, and I don't actually instance it anywhere. I've dragged an object into the document window in IB and set its type to MyController, and it runs fine at runtime and does everything a controller should. Nowhere however do I do something like this:

Code:
MyController *newController;

So, I don't really know what the controller object is called at runtime. Is there any way to find out?

Cheers,

Tom
 
You need to setup an IBOutlet in another class and connect it to your controller in the nib.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.