In my previous post, I mentioned resizing the sidebar of an application. I realized that it would be annoying to change the width of the sidebar, as well as the window position and size, and have it all revert to defaults the next time you launched the application.
So I've been researching how to create and update an application's preferences. So far, I'm saving the values for the parameters above, and updating them when they change. My character editor application, Uplift (seemed like a good name), saves these to user/Library/Application Support/Naasirka/Uplift/Uplift.plist. Any apps I write or rewrite in the future, will also create folders in user/Library/Application Support/Naasirka/.
Tons more to do, but at least I understand how to avoid a major user annoyance now.
So I've been researching how to create and update an application's preferences. So far, I'm saving the values for the parameters above, and updating them when they change. My character editor application, Uplift (seemed like a good name), saves these to user/Library/Application Support/Naasirka/Uplift/Uplift.plist. Any apps I write or rewrite in the future, will also create folders in user/Library/Application Support/Naasirka/.
Tons more to do, but at least I understand how to avoid a major user annoyance now.