如清单5所示,如果使用约束的话,产生一个沿着圆形轨迹移动的视图非常容易。
As you can see in Listing 5, making a view orbit around in a circular path is very easy if you utilize constraints.
这是一楼的右视图;左边就是圆形的大厅,右边则是咖啡厅,大家可以自由地沟通。
Here is the right view of the first floor; on the left you can see the circular hall and on the right an open cafe to communicate freely.
应用推荐