使用自动引用计数应遵循的原则 不能使用 retain、release、retainCount、autorelease。 不可以使用 NSAllocateObject、NSDeallocateObject。 必须遵守内存管理方法的命名规则。 不需要显示的调用 Dealloc。 使用 @autoreleasePool 来代替 NSAutoreleasePool。 不可以使用区域 NSZone。 对象性变量不可以作为 C 语言的结构体成员。 显示转换 id 和 void*。