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.

answered here


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -