I’m assuming nobody following me uses NSDistributedLock; if there is, cut it out. I think it’s not deprecated ‘cause we forgot it existed.
-
-
@Catfish_Man What else would you suggest when there are multiple processes accessing the same file?0 replies 0 retweets 0 likes -
.
@mjtsai in ascending order of squickiness: • a database • have one process use XPC to talk to a single writer • defaults • flock()0 replies 0 retweets 4 likes -
@Catfish_Man@mjtsai dude!!! NSFileCoordinator v_v’0 replies 1 retweet 3 likes -
@millenomi@Catfish_Man@mjtsai is it safe to use on iOS? (The case where a file stays locked when an app gets suspended)0 replies 0 retweets 0 likes
@Javi @millenomi @Catfish_Man Only safe in iOS 8.2 and later? http://mjtsai.com/blog/2015/05/19/nsfilecoordinator-improvement-in-ios-8-2/ …
10:08 AM - 4 Sep 2015
0 replies
0 retweets
1 like
-
@mjtsai@Javi@Catfish_Man unfortunately yes.0 replies 0 retweets 1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
David Smith
Michael Tsai
✾ w
Javi