Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Blakeasd

macrumors 6502a
Original poster
Dec 29, 2009
643
0
Hello,
I located the NSWindow.h file on my mac and I wanted to know if I edited the file to my liking would all the NSWindows on my mac change?
 
I know that, but I would rather not mess up my computer by editing NSWindow and change something I don't know about :)
 
I know that, but I would rather not mess up my computer by editing NSWindow and change something I don't know about :)

I had a friend look in her /System/Library/Frameworks in one of the frameworks folders: she said there was no subfolder or symlink "Headers" in it. IOW, the headers are only installed if you install XCode. They do not affect the function of the framework itself in any way at all. The only thing I imagine you can expect to happen is weird behavior from GDB.
 
People it just a header file. It does nothing in regards to behaviour. Perhaps on app-by-app basis you could patch NSWindow with a category. But if you wanted to change the behaviour of NSWindow system-wide you'd need to patch the library inside Cocoa.framework.
 
I understand what a header file is..... I was just curious about what would change if I changed this file
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.