Document the calculate frame APIs using an info struct.
ClosedPublic

Authored by featherless on Wed, May 17, 3:43 PM.

Details

Summary

This ensures that we can extend the block argument without breaking clients down the line. It also removes the need to document what the block argument names are.

Diff Detail

Repository
R50 material-motion-components-swift
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
featherless created this revision.Wed, May 17, 3:43 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptWed, May 17, 3:43 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O4: Material Apple platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
markwei accepted this revision.Wed, May 17, 6:34 PM
This revision is now accepted and ready to land.Wed, May 17, 6:34 PM
This revision was automatically updated to reflect the committed changes.