Wrapping Conventions

Wrapping Conventions

When using the key-value coding methods to access properties whose values are not objects the standard key-value coding wrapping conventions support, the following wrapping conventions are used:

C Type

Class

CGPoint

NSValue

CGSize

NSValue

CGRect

NSValue

CGAffineTransform

NSAffineTransform (OS X only)

CATransform3D

NSValue

猜你喜欢

转载自janedoneway.iteye.com/blog/1615713