swift

another way to solve task

I made a function in which 17 players are counting to number N. Function as a parameter takes a number N and returns which player is going to say N. If current number is divisible by 9 the counting order is reversed, and if current number …

Multiline text truncated in ScrollView

I’m having a rather peculiar issue with multiline texts inside a ScrollView. I have a LazyVStack in the ScrollView and have SomeRow (see below) Views inside this stack.
I have a long multiline description inside this SomeRow View that Swif…

Store objects from a module persistent

i have a list of objects of a class provided by a Module(In this case from PSPDFKit Instant the class InstantDocumentDescriptor) and i want to store those objects persistent. Is that possible? Or can i only store objects for which i can cr…