Skip to content

Releases

1.0.0

Choose a tag to compare

@nashysolutions-bot nashysolutions-bot released this 08 Nov 07:07

The first public release of LookAhead, a Swift package that keeps the resources around the current position in an ordered list loaded and ready.

  • Prefetcher loads a window around the focused position, nearest first, and lets go of what leaves it.
  • One load per key, shared by every caller that asks while it is in progress.
  • An optional main-actor prepare step for values that need not be Sendable, such as an audio player.
  • iOS, macOS, tvOS, visionOS and watchOS 26. No dependencies. MIT licence.

Y fersiwn gyhoeddus gyntaf o LookAhead, pecyn Swift sy'n cadw'r adnoddau o gwmpas y safle presennol mewn rhestr drefnedig wedi'u llwytho ac yn barod.

  • Mae Prefetcher yn llwytho ffenestr o gwmpas y safle dan ffocws, yr agosaf yn gyntaf, ac yn gollwng yr hyn sy'n ei gadael.
  • Un llwythiad i bob allwedd, wedi'i rannu gan bob galwr sy'n gofyn tra bo'n mynd rhagddo.
  • Cam prepare dewisol ar y prif actor ar gyfer gwerthoedd nad oes rhaid iddynt fod yn Sendable, fel chwaraewr sain.
  • iOS, macOS, tvOS, visionOS a watchOS 26. Dim dibyniaethau. Trwydded MIT.