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
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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