magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

MR_truncateAll() will block the interface #1249

Closed lyluoyuan closed 6 years ago

lyluoyuan commented 8 years ago

MR_truncateAll() will block the interface if the data is large.

当需要删除的数据较大时,MR_truncateAll()方法会阻塞UI。

fysteven commented 6 years ago

You can do it on a background thread.