I remember that you should not worry about calling the NSUserDefaults synchronization method on iOS 8 and above. I also read from one source other than Apple and another allusion to the same. However, I was having trouble finding an authoritative source from Apple. Was this a WWDC video a couple of years ago? What was Apple's reputable source?
Read this: NSUserDefaults and looked at some of them: WWDC 2014 Video
, , - , Apple, NSUserDefaults: https://twitter.com/catfish_man/status/674727133017587712 http://dscoder.com/defaults.html
, - [NSUserDefaults synchronize] - . , , , .
:
, - , , , , . -synchronize (. " " ), , , , - "" . NSUserDefaults., , , -synchronize : -synchronize, "", , , , , , . , iOS 9.3 /macOS Sierra, -synchronize ( ) , , . , , .
, - , , , , . -synchronize (. " " ), , , , - "" . NSUserDefaults.
-synchronize
, , , -synchronize : -synchronize, "", , , , , , . , iOS 9.3 /macOS Sierra, -synchronize ( ) , , . , , .
, (, ). :
, -[NSUserDefaults synchronize], . , , , . .
-[NSUserDefaults synchronize]
; . , , .
Source: https://habr.com/ru/post/1624178/More articles:What prevents default () prevention when dragging and dropping? - javascriptЕсть ли способ приостановить/остановить mp3 файл, играющий с mcisendstring, с опцией "wait"? - c++The F # compiler supports foreach optimization in the same way as the C # compiler - .netGolang on eclipse: “The resource does not have a matching Go package” on Mac - eclipsejQuery UI виджет "уничтожить" метод - непоследовательные ошибки - javascriptUsing proxyquire for stubs is required depending on third-party modules - node.jsUsing PHP 7 and Doctrine Group - php-7Test function Doz (Android 6.0 Marshmallow) in Genymotion - androidМожно ли наследовать от абстрактной/базовой структуры или моделировать что-то по этим линиям в C? - cAmbiguous method call in Intellij with JPA data Spring interface - javaAll Articles