我现在有这个功能,init的我的用户的默认值: + (void)initialize
{
// Create a dictionary to hold the default user preference values
NSMutableDictionary *defaultValues = [NSMutableDictionary dictionary];
/
我想获取存储在NSValue中的对象的指针,以便我可以对其进行修改。要点是这样的: // Get a pointer to the value's buffer (it'd be void*, I guess).
CGRect *myRect = [rectValue getPointer];
// Modify the rectangle.
myRect->origin = CGPoin