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

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -