view raw
SanitLee SanitLee - 7 months ago 45
iOS Question

Changing size of text NSString in collection view cell

I have text in collection cell. How can I change size of the text which is NSString? I've tried something like = [UIFont systemFontOfSize:12.0];

But it's not allowed, it says Property 'font' not found on object of type 'NSString'

CollectionCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:identifier forIndexPath:indexPath]; =;


I think, this: = [UIFont systemFontOfSize:12.0];

should be, this: = [UIFont systemFontOfSize:12.0];