SanitLee SanitLee - 1 year ago 77
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]; =;

Answer Source

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

should be, this: = [UIFont systemFontOfSize:12.0];
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download