Hello,
I can explore all controls in a view with this code:
NSArray *listOfControls = [[window contentview] subViews];
for (NSInteger i=0;i<[listOfControls count];i++) {
NSControl * tmp = [listOfControls objectAtIndex: i];
}
well I can identify a control by its title, description or other attribute.
The problem is the attribute "Name" of the identify tab in the inspector object
in Interface builder.
I type:
[control name];
but that method ("name") doesn't exist.
Can I know the name attribute of a control?
Thanks
Regards
Jonathan Chacón Barbero
Accessibility, usability and new technologies consultant
Phone: +34 679953948
e-Mail: [email protected]
Blog: http://programaraciegas.weblog.discapnet.es
Twitter: http://www.twitter.com/jonathanchacon
LinkedIn: http://es.linkedin.com/in/jonathanchacon
Facebook: http://www.facebook.com/jonathan.chacon.barbero
Messenger: [email protected]
Skype: Tyflos_
Ping for iPhone: jchacon
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]