Re: access multiple NSTextFields as an array?
Re: access multiple NSTextFields as an array?
- Subject: Re: access multiple NSTextFields as an array?
- From: Siegfried <email@hidden>
- Date: Mon, 20 Dec 2010 14:37:09 -0200
On 20/12/2010, at 14:23, Artemiy Pavlov wrote:
> My apologies, the full code is this:
>
> int x;
> NSMutableArray *Array = [NSMutableArray arrayWithCapacity:9];
>
> for(x=1;x<=9;x++){
> NSTextField *PatternRateLabel = etc. etc.
> [Array addObject:PatternRateLabel];
> }
>
This line:
> [[Array objectAtIndex:0] setColor:...];
>
Maybe you want to use -setTextColor ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden