Post

Replies

Boosts

Views

Activity

Comment on CoreData not updating when saved (Swift)
You are using Float which is declared as Int16, so data.setValue(Float(collectionSize), forKey: "defaultSize") does not make sense. Do you really understand you cannot change the type of the attribute dynamically? And once I leave that view and come back, my update never got saved. It goes back to the original defaultValue., nothing sure can be said without seeing all the view transition codes.
Sep ’21