People *p = [[People alloc] init];
[self test:p];
//[self test1:<#(People *__autoreleasing *)#>]
//&p取p的地址舀患。&對(duì)象名字
//雙指針一般情況下當(dāng)做參數(shù)用
[self test1:&p];
}
-(void)test:(People *)aPeople {
aPeople.name=@"pointer";
}
-(void)test1:(People **)aPeople {
* aPeople = [[People alloc] init];
}