代碼中不能使用retain, release, retain, autorelease
不重載dealloc(如果是釋放對象內存以外的處理,是可以重載該函數的,但是不能調用[super dealloc])
不能使用NSAllocateObject, NSDeallocateObject
不能在C結構體中使用對象指針
id與void *間的如果cast時需要用特定的方法(__bridge關鍵字)
不能使用NSAutoReleasePool、而需要@autoreleasepool塊
不能使用“new”開始的屬性名稱 (如果使用會有下面的編譯錯誤”Property’s synthesized getter follows Cocoa naming convention for returning ‘owned’ objects”)