Clear cached frameworks to reload OSX UI (graphics only) With the release of Yosemite I'll no doubt be needing to update our OS X UI at work, basically just white-labeling various parts of OS X. I lost my bash aliases a while back and have forgotten the command to reload the UI of OS X.

I'm looking for a way to tell the OS to clear any frameworks it might have cached somewhere and load them fresh from disk. The ultimate goal in doing this would be to force any changes you made to your .framework packages to get reflected in the OS.

Shutting down and logging off don't seem to do the trick. But there should be a bash command that will work.

Just to clarify, I'm not looking for a way to restart the Window Server, that won't really do what I want.

Here is an example of a framework that I'd like to refresh:

/System/Library/PrivateFrameworks/LoginUIKit.framework/Resources

EDIT

For example, I used to be able to reload the following types of system graphics, I'm 90% sure it wasn't a chain of commands either, just a single magical UI refresher:

Finder Icons, Textures



Menu Bar Icons



Lockscreen Icons, Text



Function Key Icons
If you're looking to re-label parts of OS X, the file you would want to modify is Localizable.strings. Within each language, or the current language of your OS, for instance, en.lproj/Localizable.strings for English, modify the necessary strings. It is necessary to only restart the app for it to take effect.

If you're looking to change the theme of OS X, there used to be various apps that could do it. For Yosemite, the only one I know of is Flavours 2. It includes various themes, and you can also make your own.



http://flavours.interacto.net

For menu bar icons, there are a few menu bar icon packs, like the following;

http://aaronolive.deviantart.com/art/Menu-bar-Icons-OS-X-Mavericks-10-9-x-406393600

though I'm not aware of any apps that work with Yosemite that allow you to change them automatically. You would need to find the correct folder to place the icons, like Yourapp.app/Resources/.