Post

Replies

Boosts

Views

Activity

Passing an array into struct
Firstly I am an absolute newbie! In Playgrounds on an iPad I have managed to convert a .csv data string to an Array that I use to print (in Console) several Cards. Now that I have transferred this code to the “App” part I find it doesn’t work which I do understand why. My question is how do I pass the index of this Array to the struct part in the App? I am thinking of starting simple by passing it into a “List”. Hope this all makes enough sense to point me in the right direction. Thanks in advance 🙏🏻
9
0
1.5k
Oct ’22