Re: NSUserDefaults locks up on 10.8

2012-08-10 Thread Quincey Morris
On Aug 9, 2012, at 22:49 , Martin Hewitson martin.hewit...@aei.mpg.de wrote: I have a table view bound to shared user defaults with a key which returns an array of strings. I have a button for creating a new entry. This calls a piece of code like this: NSUserDefaults *defaults =

Re: NSUserDefaults locks up on 10.8

2012-08-10 Thread Martin Hewitson
Hi Quincey, Your suggested fix works fine, except I used -arrayForKey rather than -arrayValueForKey (which I couldn't find). Thanks for the explanation! Cheers, Martin On Aug 10, 2012, at 07:15 AM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Aug 9, 2012, at 22:49 , Martin

NSUserDefaults locks up on 10.8

2012-08-09 Thread Martin Hewitson
Dear list, I believe this problem is new on 10.8 (but I can't confirm this at the moment). I have a table view bound to shared user defaults with a key which returns an array of strings. I have a button for creating a new entry. This calls a piece of code like this: NSUserDefaults