(id)generateSchema; // возвращает объект с +1 retainCount @end @interface MyClass : NSObject - (id)generateSchema NS_RETURNS_RETAINED; @end This macro is ONLY to be used in exceptional circumstances, not to annotate functions which conform to the Cocoa naming rules.