objective c - CGRectGetWidth vs CGRect.size.width -
which better use? prefer cgrect.size.width cause looks nicer. but, colleague says cgrectgetwidth better.
cgrectgetwidth/height normalize width or height before returning them. normalization checking if width or height negative, , negating make positive if so.
Comments
Post a Comment