By using an UIView Representation
and UIView animation(s) chained
Released with MIT License
https://1drv.ms/u/s!ApN1U-GH6AeIoABje...
A joke project, Infinity scrolling
(few lines of changes, why is is call a joke)
Released to Public Domain
LazyVStack
{
ForEach(moviesPublisher.movies, id: \.self)
{ movie in
RowSimplePortrait.init(movie: movie, w: cxWidth * 0.98, h: 100)
.background(Color.init(0x250555, 0.88) )
.padding(4)
.onAppear
{
// these 3 lines
if movie.id == moviesPublisher.movies.last?.id
{
self.moviesPublisher.getMostPopularNextPage()
}
//. 3 lines
}
} // for-next
} // VStack
Infinity Scrolling
( everytime i say infinity, this number popup
9223372036854775807 )
https://1drv.ms/u/s!ApN1U-GH6AeIn39OM...
For Testing and Educational Purposes
Resoureces
MacOS 10.15.7
Xcode 12
iOS Simulator
Pixabay and Pexels Image Links
Orinetation change
// https://developer.apple.com/forums/th...
Links
Infinity Loading, PD
https://1drv.ms/u/s!ApN1U-GH6AeIn39OM...
Zoom and Pan with UIView Representation (MIT)
https://1drv.ms/u/s!ApN1U-GH6AeIoABje...