• 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: Program load nib file from absolute path not from program's bundle.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Program load nib file from absolute path not from program's bundle.


  • Subject: Re: Program load nib file from absolute path not from program's bundle.
  • From: "chennanbang陳南邦" <email@hidden>
  • Date: Tue, 26 Jun 2007 18:23:38 +0800

I just used Xcode to open a new project and build the program. And build the UI as I need following the tutorial of Xcode.
Following is the status I met:
The program version is 3 now, and the UI was varied from version 1.
When I run the version 1, it give me the UI of version 3!!!

Then I did following test:
1) Rename the directory name of the project and double click the program. The UI can't pop out. Then I change the directory name to original one. The program works well.
2) I copy the program to another place. And change the original directory name as 1). The result is the same as 1).
3) I rebuild a small example from begining on Xcode. Still has the same result as 1).
4) I try the example from the ADC. Works correctly! It found the nib fomr its bundle.

What should I do to adjust the Xcode project to correct my program?

On 6/26/07, Alexander v. Below <email@hidden > wrote:
How are you loading the nib file?

Alex

On 26.06.2007, at 11:43, chennanbang陳南邦 wrote:

> Hi, every one,
>
> I just start to learn how to develop programs on Mac and this is the
> first time I ask questions here.
> Please correct me if I was wrong.
>
> I used Xcode to develop my program and every things worked very well
> in Xcode.
> While I test my program, I found my program only load the nib file
> from my developiing path, not from the bundle of the program.
> I search the documents and mails here, but failed to solve this
> problem.
>
> Any advise?
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (
>
> This email sent to email@hidden


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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Program load nib file from absolute path not from program's bundle.
      • From: "chennanbang陳南邦" <email@hidden>
References: 
 >Program load nib file from absolute path not from program's bundle. (From: "chennanbang陳南邦" <email@hidden>)
 >Re: Program load nib file from absolute path not from program's bundle. (From: "Alexander v. Below" <email@hidden>)

  • Prev by Date: Re: Custom Templates Not working in 2.5
  • Next by Date: menubar
  • Previous by thread: Re: Program load nib file from absolute path not from program's bundle.
  • Next by thread: Re: Program load nib file from absolute path not from program's bundle.
  • Index(es):
    • Date
    • Thread