IBOutlet and Shared Instances
IBOutlet and Shared Instances
- Subject: IBOutlet and Shared Instances
- From: Juan Alvarez <email@hidden>
- Date: Tue, 6 Dec 2005 14:10:19 -0500
Hi,
I've been trying to access an IBOutlet from a shared instance I have
created but it doesnt work. Can someone tell what I need to do here:
+ (id)sharedInstance
{
static MyClass *_myclass = nil;
if (! _myclass) {
_myclass = [[MyClass allocWithZone:[self zone]] init];
}
return _myclass;
}
Is it possible to get access to the shared instance's IBOutlet?
Basically I want access to the NSArrayController that MyClass is
connected to. Thanks!
_______________________________________________
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