Re: NSToolbar & autosave...
Re: NSToolbar & autosave...
- Subject: Re: NSToolbar & autosave...
- From: j o a r <email@hidden>
- Date: Thu, 7 Jul 2005 07:47:20 +0200
On 7 jul 2005, at 03.18, Laurent Michel wrote:
I managed to create an NSToolbar and hook it up in my UI. I enabled
the autosave to keep track of any changes users do to it. It seems
to work fine until I quit the application and start it again. I
have three problems
1. The toolbar is empty...
2. If I attempt to configure the toolbar again, the application
crashes within the cocoa library
3. I gathered that the autosaved data is associated to the
NSToolbar identifier since, as soon as I change it, everything is
back to normal...
Which begs the questions:
1. Where is the autosave being saved ? (so that I can further
investigate)
It's saved in your preference folder (with any other settings you
save via NSUserDefaults).
2. Why is the toolbar not coming up the second time around ?
You probably have a memory management bug in your toolbar delegate
(the code where you return toolbar items).
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden