Using the Mail.app UI look in your own xcode project?

Discussion in 'Mac Programming' started by tominated, Dec 6, 2006.

  1. tominated macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #1
    Is it possible to use the UI that mail has (the smooth metal look, not the way everything is arranged)? I would like to do it without including too many pics.
     
  2. Catfish_Man macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #2
    The smooth metal look is actually more iTunes than Mail... however, the Mail look is available; just check the "use unified toolbar"* checkbox in the window inspector in IB.


    *something like that, anyway
     
  3. tominated thread starter macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
  4. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #5
    Oh, you only wanted the unified look? If just that, then that's just a checkbox in IB like Catfish_Man said. But if you want to spice it up, check out those links. If you don't care, then that's fine too :)
     
  5. tominated thread starter macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #6
    the unified title/toolbar thing doesn't work for me
     
  6. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #7
    It only works with a) a toolbar and b) 10.4+
     
  7. tominated thread starter macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
  8. tominated thread starter macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
  9. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #10
    Read up on NSToolbar.
     
  10. tominated thread starter macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #11
    i found out that i cant make one by following one of the o'reilly tutorials. it uses a controller.h file for something, but i am using one for something else

    EDIT: forget about it. too much code for something that i don't need... yet...
     
  11. caveman_uk Guest

    caveman_uk

    Joined:
    Feb 17, 2003
    Location:
    Hitchin, Herts, UK
    #12
    You can have the NSToolbar delegate code in the same controller.h as the other stuff. Or you could put it in a category if you were feeling flash.

    Please don't take this the wrong way but I get the feeling you're trying to run before you can walk. I'd strongly recommend getting the Hillegass book ( http://www.bignerdranch.com/products/cocoa1.shtml ) and learning a bit of the basics.
     
  12. tominated thread starter macrumors 68000

    tominated

    Joined:
    Jul 7, 2006
    Location:
    Queensland, Australia
    #13

Share This Page