CryptoPassphrase  Check-in [484db716a1]

Overview
Comment:Adjust to ObjFW changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 484db716a1f45b1a7a4cfdfd6d79ded3f96f919388c16a3226a3f48528f54814
User & Date: js on 2017-08-11 20:17:19
Other Links: manifest | tags
Context
2017-09-15
01:39
iOS: Fix UI operations on non-main thread check-in: 270f5fe473 user: js tags: trunk
2017-08-11
20:17
Adjust to ObjFW changes check-in: 484db716a1 user: js tags: trunk
2017-05-08
00:39
Adjust to recent ObjFW changes check-in: a3b521da82 user: js tags: trunk
Changes

Modified iOS/SiteStorage.m from [ad9c1f261f] to [45b60211a4].

53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
		if (![fileManager directoryExistsAtPath: userDataPath])
			[fileManager createDirectoryAtPath: userDataPath];

		_path = [[userDataPath stringByAppendingPathComponent:
		    @"sites.msgpack"] retain];

		@try {
			_storage = [[[OFDataArray
			    dataArrayWithContentsOfFile: _path]
			    messagePackValue] mutableCopy];
		} @catch (id e) {
			_storage = [[OFMutableDictionary alloc] init];
		}

		_sites = [[[_storage allKeys] sortedArray] retain];








|
<







53
54
55
56
57
58
59
60

61
62
63
64
65
66
67
		if (![fileManager directoryExistsAtPath: userDataPath])
			[fileManager createDirectoryAtPath: userDataPath];

		_path = [[userDataPath stringByAppendingPathComponent:
		    @"sites.msgpack"] retain];

		@try {
			_storage = [[[OFData dataWithContentsOfFile: _path]

			    messagePackValue] mutableCopy];
		} @catch (id e) {
			_storage = [[OFMutableDictionary alloc] init];
		}

		_sites = [[[_storage allKeys] sortedArray] retain];