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# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -