Cocoa xcode interface builder - Can you change the colors and styles of the window?

Discussion in 'Mac Programming' started by tjw09003, Feb 11, 2010.

  1. tjw09003 macrumors newbie

    Feb 11, 2010
    I tried searching the forums for this but couldn't find anything, or I'm just bad at searching :p

    I like java because I have control over how a window looks. Is this possible in Xcode interface builder or do I have to conform to the OSX leopard style?

    For example change the background color and use graphic buttons.
  2. Catfish_Man macrumors 68030


    Sep 13, 2001
    Portland, OR
    In general it requires some effort to change Cocoa control appearance. This is very intentional on Apple's part, since it means they can update the UI without making existing apps look too out of place.

    Also, to be honest, most programmers are absolutely terrible designers, so it's for our own good ;)
  3. SRossi macrumors regular

    May 27, 2009
    Glasgow, Scotland
    I would say have a look through the Apple development docs fo NSWindow. There are a few methods for changing the background of the window etc. at run-time.

    Graphic buttons are quite easy, have a look through my posts and you will find that I asked how to use an image as a button. Quite easy when you get the hang of it :D.

  4. tjw09003 thread starter macrumors newbie

    Feb 11, 2010

Share This Page