NSLayoutManager's enumeration methods should take non-escaping closures

Originator:an00na
Number:rdar://30481088 Date Originated:11-Feb-2017 06:14 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:10
Classification:Other Bug Reproducible:Not Applicable
 
Area:
UIKit

Summary:
NSLayoutManager.enumerateLineFragments & NSLayoutManager.enumerateEnclosingRects should take non-escaping closures because they are called synchronously. Currently they are imported as @escaping in Swift.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!