How to edit the "about" box in interface builder?

Discussion in 'Mac Programming' started by adcx64, May 30, 2011.

  1. macrumors 65816

    adcx64

    Joined:
    Nov 17, 2008
    Location:
    Cudi Zone
    #1
    HI,
    how can I edit the "about" box located in my programs main menu? when I compile it, and click "about" on the editor, it just says the name of my project, how can I edit this? :confused:
     
  2. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    How far do you want to customize it? Depending on what you want to do, it could be as simple as dropping a credits.html file into your project, or it could be as complex as implementing a whole new custom window.
     
  3. thread starter macrumors 65816

    adcx64

    Joined:
    Nov 17, 2008
    Location:
    Cudi Zone
    #3
    I just want to add to what is already there to say by Anthony D.
     
  4. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #4
    You can do two things.

    One is edit the InfoPlist.strings file and add an NSHumanReadableCopyright value. The format is:
    Code:
    NSHumanReadableCopyright = "© 2011 <you>";
    (or something like that)

    You can also add an RTF file to your project and name it Credits.rtf - the About box will show this file if it exists in your .app, which lets you display additional information.
     
  5. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #5
    You can only do it with an HTML file now, credits.html. I can't remember which version of Mac OS X introduced this. It does work at least on Mac OS X 10.5.
     
  6. Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #6
    Looks like it's still supported.
     
  7. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #7
    Oops, sorry. I mean to write "you can also", not "you can only". One of these days, I'm going to start proof-reading my posts. Sometimes I re-read a post of mine and I'm left asking myself "Is English really my first language?!" :eek:
     
  8. thread starter macrumors 65816

    adcx64

    Joined:
    Nov 17, 2008
    Location:
    Cudi Zone
    #8
    Thanks for all the help! I got it up and running! THANKS!!:D
     
  9. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #9
    Thanks!

    I was about to hand code an About... panel in Objective C (similar to how I did my iPad popover for About/Info), but the stuff in this thread will make it tons easier.
     

Share This Page