Use NS_RETURNS_RETAINED macro to save time (#843)

* Use NS_RETURNS_RETAINED macro to save time

* Update changelog and do the thing with the license headers
This commit is contained in:
Adlai Holler
2018-03-21 08:13:09 -07:00
committed by GitHub
parent e954b1045a
commit 2b12654810
61 changed files with 239 additions and 184 deletions

View File

@@ -88,7 +88,7 @@ ASDISPLAYNODE_EXTERN_C_END
@result An NSParagraphStyle initialized with as many of the paragraph specifiers from `coreTextParagraphStyle` as possible.
*/
+ (instancetype)paragraphStyleWithCTParagraphStyle:(CTParagraphStyleRef)coreTextParagraphStyle;
+ (instancetype)paragraphStyleWithCTParagraphStyle:(CTParagraphStyleRef)coreTextParagraphStyle NS_RETURNS_RETAINED;
@end