Re: Runtime problem!
Re: Runtime problem!
- Subject: Re: Runtime problem!
- From: apr trainees <email@hidden>
- Date: Wed, 23 Feb 2005 02:41:58 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
hi,
ya i'v verified these things.The image is part of
the'images' tab in interface builder and is under
resources.
when i run from Xcode it still runs but the
application package doesnt show the images.
is there sum way i can see what the package is doing
exactly?
what is going on when its executing and Why image not
shown.
Pls give suggestions.
thanx
richa
--- j o a r <email@hidden> wrote:
> 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 part 2 application/pkcs7-signature
name=smime.p7s
__________________________________
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
_______________________________________________
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