I am new to iOS development,I was working with a UILabel
. I found that the label
properties are set in multiple different ways.
In the below code, it can be seen that text
is assigned using the bracket notation, while
textColor
is assigned using dot notation. This has confused me...
[lblview setText:Cname];
lblview.textColor=[UIColor whiteColor];
lblview.font = [UIFont fontWithName:@"American Typewriter" size:18];