Why use functions like CGRectMake?

后端 未结 0 489
一个人的身影
一个人的身影 2021-02-12 16:12

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

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