AI-generated Key Takeaways
-
MLKInkrepresents user input as a collection of strokes for handwriting recognition. -
It is initialized using an array of
MLKStrokeobjects representing individual strokes. -
The
strokesproperty provides access to the list of strokes composing the ink. -
Direct initialization with
init()is unavailable; useinit(strokes:)instead.
Ink
class Ink : NSObjectRepresents the user input as a collection of Stroke and serves as input for the handwriting
recognition task.
-
List of strokes composing the ink.
Declaration
Swift
var strokes: [Stroke] { get } -
Unavailable, use
init(points:)orinit(strokes:)instead. -
Initializes and returns an
Inkobject using the sequence of strokes provided.Declaration
Swift
init(strokes: [Stroke])