Remember the original poster is blind. He can use interface builder to create 
and position widgets and it seems that the dialogs allowing you to set position 
and other attributes (like tag) are accessible but the control drag to hook 
objects up to outlets or set actions is not accessible, so he can't do it. He 
is as far as I can tell trying to find a way to locate the objects in interface 
builder he would have hooked up to outlets if he were able to do so, after the 
nib has loaded, and then do those hookups in code. 

I still think just building the interface in code is easier but he wishes to 
use Interface Builder for whatever piece of the process he can. 

On 13-Feb-2010, at 5:56 AM, Graham Cox wrote:

> 
> On 12/02/2010, at 11:48 PM, Roland King wrote:
> 
>> That's why I suggested viewWithTag: method, if you give the text view tag 
>> number 1 and the two buttons tags 2 and 3, you can easily find them by 
>> calling viewWithTag: with each tag from 1 to 3.
> 
> 
> I can't really see the benefit of this - you're assigning a number to each 
> view so you can find it. Each view already has a number - its pointer. So 
> just make an outlet for each view of interest and then you can refer to it 
> directly by name (ivar identifier) that you assign. Much easier.
> 
> --Graham
> 
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to