18:39:11 <@Optimo> xTM3x: I'm curious but not with a device at this time; I wonder if mobile's prefs are migrated to a different location on ios8
18:43:34 <xTM3x> Optimo: Not sure, Filza says that it doesn't exist anywhere else on the system but I'll look around
18:44:33 <@Optimo> the location of mobile's Applications containers moved, and maybe other things too. please if you find anything interesting consider adding it to the wiki
18:45:01 <@Optimo> http://iphonedevwiki.net/index.php/Updating_extensions_for_iOS_8
18:46:10 <xTM3x> I did notice that all applications have preferences now, probably has nothing to do with it though
18:46:24 <xTM3x> Do you know where they moved to?
18:46:45 <xTM3x> The mobile application containers
18:47:52 <@Optimo> it's /var/mobile/Containers/Application I think. not far
18:49:10 <@Optimo> so, /var/mobile/Library/Caches/SBShutdownCookie
18:49:24 <@Optimo> it's touched when springboard starts. is that new? maybe it's useful
18:51:48 <Codyd51> By any chance would anyone happen to know what the view Reachability invokes is?
18:52:02 <xTM3x> So I deleted my plist file and flicked a switch in preferences. It creates a new file (same bundle id) but with the extension .plist.ZztoHQV
18:52:21 <xTM3x> Also in /var/moble/Library/Preferences
18:52:24 <xTM3x> The file is empty
18:52:50 → Shrugs joined (~Shrugs@138.47.231.137)
18:55:54 <@Optimo> Codyd51: no idea, but my wild guess would be that it's springboard contexthostview for that app.
18:57:40 <xTM3x> Whenever I try to delete preferences it re-appears too :/
18:57:58 <Codyd51> Optimo: Ah, I figured it would be something along those lines. Thanks!
19:01:22 <xTM3x> Alright it looks like a bug when using [dict setObject:[NSNumber numberWithBool:0] forKey:@"key"];
19:01:32 <xTM3x> Still looking at it though
19:04:14 <uroboro> xTM3x: what if you use NSUserDefaults' private methods?
19:05:58 → openro0t joined (~textual@99.239.176.116)
19:07:02 <uroboro> Or CFPreferencesSetAppValue()
19:08:52 ⇐ ac3xx quit (~ac3xx@178.79.135.217) Ping timeout: 121 seconds
19:11:16 <xTM3x> Alright so (Be warned for lame explanation, I'm just compiling what I've found) -setObject: forKey: is actually okay, it doesn't cause the problem -A temporary, blank, file is created whenever a preference is change (extension is random each time but is along the lines of .plist.xxxxx) -If you respring before that file is created and deleted (takes
19:11:16 <xTM3x> quite a while idk why) your preferences will not save.
19:11:28 <xTM3x> PreferenceLoader may have always created this file but I've never noticed it
19:11:32 <xTM3x> Still testing this
19:12:17 <xTM3x> Also when the blank file is created the preferences don't change, they only change when the file is deleted
19:14:06 → ac3xx joined (~ac3xx@178.79.135.217)
19:15:00 <xTM3x> Yep, seems to happen for the 5 of my tweaks, not sure about other ones
19:19:01 <@DHowett> PreferenceLoader has never created files
19:19:02 <@DHowett> :)
19:19:34 <@DHowett> xTM3x: of note: the Preferences/defaults system on OS X creates the same kinds of files -- i have about 14 of them in ~/Library/Preferences/ right now
19:20:15 <@DHowett> xTM3x: (but: preferenceloader only loads preference panels, it doesn't have anything to do with the creation of preferences data for users :))
19:20:53 <xTM3x> #PreferenceGate
19:21:04 <@DHowett> hah
19:21:19 <@DHowett> i've seen them in OS X for as long as i can remember. I think they're artifacts of atomic writes
19:21:21 <xTM3x> The files are quickly deleted after though so they don't exist anymore
19:21:53 <@DHowett> like, when you write a preferences file atomically, you write into a temporary filename and then replace the original with that file -- so there's never a point at which they're half-written
19:23:13 <xTM3x> I could just be respringing in the middle of it writing but if that's the case, writing is noticibaly slower now.
19:23:38 <xTM3x> Files are also created in my tweaks that don't auto set preferences (but I may just be mis-understanding you :p)