//保存坐标
CGPoint point = CGPointMake(10, 10) ;
//保存尺寸
CGSize size = CGSizeMake(100, 100);
//坐标和尺寸
CGRect rect = CGRectMake(10, 10, 10, 10);
//保存坐标
CGPoint point = CGPointMake(10, 10) ;
//保存尺寸
CGSize size = CGSizeMake(100, 100);
//坐标和尺寸
CGRect rect = CGRectMake(10, 10, 10, 10);
本文标题:iOS中的常用结构体
本文链接:https://www.haomeiwen.com/subject/xrkwgftx.html
网友评论