Post

Replies

Boosts

Views

Activity

Making a Freeform board style view
Hi everyone! I was wondering if anyone has tips or resources to help me make a view (ideally in swiftUI) that works the same as a board in the Freeform app from Apple? I search online but I couldn't find anything that would help me I would like to be able to add views that I can drag around and interact with plus I would need to have pencilKit support and be able to move around the parent view (the Freeform board like view) Thanks
0
1
915
Jun ’23
Is there a way to make a copy of what i want to append into an array
I am trying to append multiple objects [of "recipe" type] into an array and then be able to modify them independently afterward in an edit view here is the code that doesn't work: VStack{ Button("add") {     Recipe.steps.append(recipe.step.default)   }  ForEach($Recipe.steps){step in                     TextEditor(text: step.text)                     Text(" ")                 } } what happens is when i append the default step in the array multiple times and then modify on of them they all sync up I could not find answers online Thanks sam
3
0
583
Jan ’23