I am puzzled by Realm write transactions. Do I have to make all the changes to the objects in the write transaction, or can I just make a few changes and then write everything to disk?
The first option seems a little redundant and, of course, tedious.
(Disclaimer: I work at Realm)
It is right! When an object is added to the object Realm(), it can only be changed after a write transaction.
Realm()
. a Realm() , , ( , ).
, , , , , , .
Source: https://habr.com/ru/post/1607174/More articles:How to handle Unterminated string exception correctly? - javaIs it possible to create a native video chat application with an Android phone using webrtc? - androidСложить штабель монады - haskellCorrect way to compile Ruby 2.2 with jemalloc and rbenv? - ruby | fooobar.comUsing webdriver to run in Chrome using Python - pythonGoogle AdMod для мобильных объявлений с просмотром Recycler - admobHow to disable the message "Completion" when my team is killed by a timeout? - bashObtaining a user context identifier for an Open Open Graph API request - facebookhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1607178/ios-todayview-widget-breakpoints-not-working&usg=ALkJrhiIV41NOJZ81Cw9zeZTOlqf_LfyYwSomething is wrong; all ROC metric values are missing: - rAll Articles