How to save data , in an iOS application?

前端 未结 6 735
伪装坚强ぢ
伪装坚强ぢ 2021-01-16 18:23

I am developing an application where the user creates an event which has 3 fields:

Category , name , event. After the user gives his entry , i have a save

6条回答
  •  终归单人心
    2021-01-16 19:16

    You can use core data to save all your data and delete it when you want. The code above always create new object of Note class so every time new data you have but when you will try to write with the same name "Note". It always overwrite the old data.

提交回复
热议问题