Global Access Controls ?
Global Access Controls ?
- Subject: Global Access Controls ?
- From: Chad Eckles <email@hidden>
- Date: Thu, 24 Apr 2003 17:06:40 -0700
Hello I have a control that i want to define only onece and i want to be
able to use it in other classes without having to redefine it over an over
an over again how can i do this ?
E.g
I have MyClass with a Defined NSTextField and in MyClass2 i want to be able
to access that NSTextField with out having to redefine it ?
/* MyClass */
#import <Cocoa/Cocoa.h>
@interface MyClass : NSObject
{
IBOutlet NSTextField *txtName;
}
@end
/* MyClass2 */
#import <Cocoa/Cocoa.h>
@interface MyClass2 : NSObject
{
}
-(void)awakeFromNib
{
[txtName setStringValue:@"Helllo"];
}
@end
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.