Assigning to property with 'readonly' atribute not allowed
Assigning to property with 'readonly' atribute not allowed
- Subject: Assigning to property with 'readonly' atribute not allowed
- From: Fernando Aureliano <email@hidden>
- Date: Mon, 27 Jun 2011 19:05:55 -0300
I' doing the implementation of AQGridView, and everything was going well.
But, now I'm getting the error below.
- (AQGridViewCell *) gridView: (AQGridView *)inGridView cellForItemAtIndex: (NSUInteger) index;
{
MagazineCell *cell = (MagazineCell *)[inGridView dequeueReusableCellWithIdentifier:@"cell"];
if (!cell) {
cell = [MagazineCell cell];
cell.reuseIdentifier = @"cell";
//Assigning to property with 'readonly' atribute not allowed
}
cell.backgroundColor = [UIColor clearColor];
cell.selectionStyle = AQGridViewCellSelectionStyleGlow;
cell.edicaoLabel.text = [[edicoesArray objectAtIndex:index] name];
cell.dataLabel.text = [[edicoesArray objectAtIndex:index] name];
return cell;
}
I tried to do this on head file
@property(nonatomic, readonly, copy) NSString *reuseIdentifier;
But still no work.
Someone can see the problem?
thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden