• 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: FILE -> NEW CLASS (Placement of newly created subclass)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FILE -> NEW CLASS (Placement of newly created subclass)


  • Subject: Re: FILE -> NEW CLASS (Placement of newly created subclass)
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 30 Jan 2005 22:50:38 -0800

On Jan 30, 2005, at 3:51 PM, Jeremy French wrote:

Occassionally a new class is placed in the Groups & Files folder "Resources -> MainMenu.nib". I believe this occurs, because the MainMenu.nib folder was highlighted when I chose FILE -> NEW FILE.

When I try to drag the newly created class files (.h and .m) into the Classes folder, they will not move there. In fact, I am unable to drag the newly created class file into *any* other folder in Groups & Files.

Why am I unable to move an Objective-C class files (.h and .m) from the MainMenu.nib folder (where they were inadvertently placed) to the Classes folder?

I couldn't find any bug reports that covered this, but it's completely conceivable that Xcode 1.5 created the new files inside the localized nib (which is a package, not a single file) and then could no longer access them.  Just conjecture as I don't have a 1.5 system at my fingertips right now.  But I tried this in Xcode 2.0 and even if you have a nib or nib variant selected, the files created by New File... can be dragged to any other location in the project.  So this appears to have been fixed in the next release of Xcode.


As a workaround you may want to open the Resources folder in the Finder and see if the files are actually buried in a nib and, if so, move them manually to another directory.  Then delete their (now-invalid) file references int he project, and re-add the files.


Chris


 _______________________________________________
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

References: 
 >FILE -> NEW CLASS (Placement of newly created subclass) (From: Jeremy French <email@hidden>)

  • Prev by Date: NSLog and deployment builds
  • Next by Date: Re: variable question?
  • Previous by thread: FILE -> NEW CLASS (Placement of newly created subclass)
  • Next by thread: XCode 1.5: EXECUTABLE_SUFFIX broken?
  • Index(es):
    • Date
    • Thread