Why use functions like CGRectMake?

后端 未结 0 1993
长发绾君心
长发绾君心 2021-02-12 16:36

I\'m curious why functions like CGRectMake and CGPointMake exist and are widely used. when, instead, you can do:

(CGRect){{x, y}, {width, height}}
相关标签:
回答
  • 消灭零回复
提交回复
热议问题