Changing an NSToolbar Identifier
Changing an NSToolbar Identifier
- Subject: Changing an NSToolbar Identifier
- From: Markus Spoettl <email@hidden>
- Date: Thu, 1 Oct 2009 20:37:10 +0200
Hello,
is it save to change the identifier of an NSToolbar in the .xib
file to something else, or does IB/AppKit expect it to be a specific
GUID?
The background for this is as follows: I have a new version of an
application that shares its app ID with the previous version. The
toolbar in question is saving its state (using the "Autosaves
configuration" setting in IB). The new version introduces additional
items that are visible in its default setup. However, if the previous
version saved a toolbar configuration, those would not show up because
the toolbar ID is the same and it would load the old config.
I'd prefer it to start fresh, so I'd like to use a different ID. IB
doesn't allow for changing the toolbar ID, but its there in the .xib.
It's a GUID and I'm wondering if I'll get into trouble changing it to
something else, maybe even different from the GUID.
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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