正如我的问题标题所说,我怎样才能转换CGPoint
成这样我就可以在swiftNSValues
中存储 Into array In 。
在 Objective-C 中,我们可以这样做:
// CGPoint converted to NSValue
CGPoint point = CGPointMake(9, 9);
NSValue *pointObj = [NSValue valueWithCGPoint:point];
但是任何人都可以告诉我,我怎样才能迅速做到这一点?
提前致谢。