• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Runtime problem!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Runtime problem!


  • Subject: Re: Runtime problem!
  • From: j o a r <email@hidden>
  • Date: Tue, 22 Feb 2005 11:57:05 +0100

A couple of things:

1) You should make sure that the images are in the Resources directory of your application bundle. If you've added them to the project, they probably already are copied to this directory.
2) You should always refer to resources using an absolute path.
3) You should get hold of the absolute path by using the methods found in NSBundle.


At least these would be the general guidelines. I'm sure you could find times when you would do otherwise, but I think you can use these pointers as a start.

j o a r

On 2005-02-22, at 11.32, apr trainees wrote:

i've made a cocoa application.As it starts,an icon is
installed in the menubar.
when i run the application form Xcode,then the icon
image is visible from the bar.
However when i use the application package that is
formed after the run directly to launch the
application,
the menu is there on the menubar but the icon is not
visible(only when i click on the white space do i
realise that the application menu IS running but image
not visible)

can sum1 please explain this discrepancy and what can
be done.
thank u so much.

btw i have installed the images in the build directory
of the application and also added it to the project
from the toolbar to make it part of the project.
1 image is .ico format and other in .pict

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Runtime problem!
      • From: apr trainees <email@hidden>
References: 
 >Runtime problem! (From: apr trainees <email@hidden>)

  • Prev by Date: Runtime problem!
  • Next by Date: Is it possible to embed multiple profiles inside an image?
  • Previous by thread: Runtime problem!
  • Next by thread: Re: Runtime problem!
  • Index(es):
    • Date
    • Thread