Re: Storing a table view in user defaults
Re: Storing a table view in user defaults
- Subject: Re: Storing a table view in user defaults
- From: Ryan Briones <email@hidden>
- Date: Tue, 28 Apr 2009 22:02:32 -0400
Hey, thanks! I actually ran across your code last night when I was first
doing this. I ran your code and it worked fine. I created a test project to
"copy" your code, and mine failed. I tried looking at every checkbox and
every key path, nothing worked.
I've uploaded my the "test project" to github. I'd love it if you guys could
take a look, and tell me what I'm doing wrong. I feel like it's an exact
copy, but it doesn't work. Hopefully this can provide an insight into my
stupidity.
http://github.com/ryanbriones/tableview-userdefaults
If you don't have git, you can download a zip or tarball from the downloads
tab. Thanks!
On Tue, Apr 28, 2009 at 5:00 PM, Steven Riggs <email@hidden> wrote:
> Check out the sample code here that demonstrates storing a dictionary in
> defaults with no code.
> http://idisk.mac.com/steven.riggs-Public?view=web
>
> I hope it helps...
>
> Steven Riggs
>
>
>
> On Apr 28, 2009, at 11:04 AM, Ryan Briones wrote:
>
> I'm a relative newb when it comes to cocoa programming, but I've been
>> trying
>> to finish of a project and put it out there so I can get some feedback and
>> continue to get better. My problem is that I have a table view that's
>> bound
>> to an array controller backed by user defaults in IB. Adding a single new
>> row works fine, but if I add any more, the data from the previous rows
>> gets
>> wiped out, but the actual rows get preserved. Further more, if I create a
>> row and exit/relaunch the rows are persisted, but the data is not. If feel
>> like I'm missing some important detail, but I can't figure out what. Any
>> help is appreciated. Thanks.
>>
>> --
>> Ryan Carmelo Briones
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>
>
--
Ryan Carmelo Briones
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden