Returns an array of lines stored in the frame.


func CTFrameGetLines(_ frame: CTFrame) -> CFArray



The frame whose line array is returned.

Return Value

A CFArray object containing the CTLine objects that make up the frame, or, if there are no lines in the frame, an array with no elements.

See Also

Getting Lines

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software