Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > About Box Resources

About Box Resources
Thread Tools
Dedicated MacNNer
Join Date: Jun 2000
Location: Dundas, Ontario, Canada
Status: Offline
Reply With Quote
Jan 29, 2001, 12:39 PM
 
Just a quick question that will be INSANELY easy to answer for anyone who has written any of the cocoa programs out there:
How do I change the icon and the string fields that appear in the about box? I read through the NSApplication interface to find out where the calls are made to (sort of) but how do you change them. I found a way to bypass this and manually make the application call a different about box but it is sloppy and I like a cohesive architecture.

Can someone clue me in?

Thanks,
Jeff.
Spectral Class
"Shedding Light on Innovation"
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jan 29, 2001, 04:28 PM
 
The icon is in the target settings, it's the one you build your app with. And the strings are in Info.plist in the Resources folder of your project. It's all automatic, you see.
     
Dedicated MacNNer
Join Date: Jun 2000
Location: Dundas, Ontario, Canada
Status: Offline
Reply With Quote
Jan 31, 2001, 10:11 AM
 
Perfect! I was getting close and that helped me find the last thing I needed. I will post a link to a demonstration of this to this thread within the next few days. It is pretty simple yet some of the Apple Source Code examples fudge this the same way I was (Son of Silly Balls, for example) so I think that a simple example might be useful to some people who are in the same boat that I was.

Thank you very much,
Jeff.
Spectral Class
"Shedding Light on Innovation"
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jan 31, 2001, 01:12 PM
 
AFAIK SimpleCocoaApp and CurrencyConverter don't hack it up. And neither does Vermont Recipes or the examples from Rhap_DiscOS.pdf
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:14 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2