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

c++ - error: use of deleted function -

delphi - ESC/P programming! -

c# - how to write client side events functions for the combobox items -