• 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
Changing plist name changes Xcode editor layout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing plist name changes Xcode editor layout


  • Subject: Changing plist name changes Xcode editor layout
  • From: Tom Harrington <email@hidden>
  • Date: Thu, 4 Feb 2010 16:53:32 -0700

It appears that Xcode makes assumptions about a property list's
contents based on its file name.

I had a plist named unitNames.plist, and I was able to edit it
normally-- it has multiple levels of hierarchy and I could edit each
one, set data types for each element, etc.

Then I renamed the file to unitInfo.plist, and now Xcode apparently
assumes that it's an application's Info.plist file.  No data types are
shown, and collections are just marked as "Information Property List".
 See a screenshot at
<http://skitch.com/atomicbird/nu4bs/unitinfo.plist>.

This seems buggy-- Xcode shouldn't change the editor layout just
because the filename is different, if the file extension hasn't
changed.  If I'd changed it from ".plist" to ".m" I'd expect weirdness
but not in this case.  Is this a bug or is it, by some logic, intended
this way?

--
Tom Harrington
email@hidden
AIM: atomicbird1
 _______________________________________________
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: Changing plist name changes Xcode editor layout
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Standard C++ Includes For iPhone
  • Next by Date: Re: Changing plist name changes Xcode editor layout
  • Previous by thread: Re: Standard C++ Includes For iPhone
  • Next by thread: Re: Changing plist name changes Xcode editor layout
  • Index(es):
    • Date
    • Thread