A question on how to Get data from plist & how should it be layout

后端 未结 4 985
清歌不尽
清歌不尽 2020-12-21 20:38

This is a follow up question on my first queries regarding retrieving data on plist. Right now i have manage to detect users touches made on my view with random image call o

4条回答
  •  北海茫月
    2020-12-21 21:40

    The plist part is well explained in other answers.

    But if you are storing/reading with CGPoint I would strongly suggest you to use the following very handy methods, CGPointFromString and NSStringFromCGPoint see Apple documentation for more information.

    Note there are also other utilities to work with graphics structures like CGPointEqualToPoint, CGRectContainsPoint, CGRectIntersectsRect or CGRectContainsRect... see Apple documentation for more information

提交回复
热议问题