We are independent & ad-supported. We may earn a commission for purchases made through our links.

Advertiser Disclosure

Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.

How We Make Money

We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently from our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.

What Is a Property List?

By Eugene P.
Updated Feb 01, 2024
Our promise to you
WiseGeek is dedicated to creating trustworthy, high-quality content that always prioritizes transparency, integrity, and inclusivity above all else. Our ensure that our content creation and review process includes rigorous fact-checking, evidence-based, and continual updates to ensure accuracy and reliability.

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

Editorial Standards

At WiseGeek, we are committed to creating content that you can trust. Our editorial process is designed to ensure that every piece of content we publish is accurate, reliable, and informative.

Our team of experienced writers and editors follows a strict set of guidelines to ensure the highest quality content. We conduct thorough research, fact-check all information, and rely on credible sources to back up our claims. Our content is reviewed by subject matter experts to ensure accuracy and clarity.

We believe in transparency and maintain editorial independence from our advertisers. Our team does not receive direct compensation from advertisers, allowing us to create unbiased content that prioritizes your interests.

A property list in computer programming is a list of key-value pairs that describe the specific attributes of a program or object.‭ ‬A key-value pair consists of a key,‭ ‬or the name of the attribute‭ ‬that‭ ‬is being referred to,‭ ‬and a value for that attribute.‭ ‬Property lists can be used to save objects to a file during the process of serialization or can be used to store information such as user preferences.‭ ‬They usually are human-readable and therefore can be platform-independent.

In modern computing,‭ ‬a property list that is going to be written to a file usually employs the extensible markup language‭ (‬XML‭) ‬to define the keys and values.‭ ‬XML is human-readable text that also can be read by any program,‭ ‬allowing the property list file to be moved between operating systems.‭ ‬Using XML has the added benefit of being supported by several‭ ‬programming libraries, which makes reading the list from a stream easier.

During data serialization,‭ ‬a property‭ ‬list is generated that contains key-value pairs that represent all of the state information‭ ‬in a given data object.‭ ‬The key refers to the name of the field being serialized, and the value is the actual state information being saved.‭ ‬Using mechanisms such as reflection,‭ ‬the property list can be read and the fields appropriately assigned to a new instance of the object class.

Some operating systems and computer languages have made property lists an integral part of their operating structure.‭ ‬These programs have taken the standard XML format of a property list and created proprietary implementations that allow the system to optimize the reading and writing of the lists.‭ Although these still are property lists,‭ ‬they are not portable to other systems or programs‭ ‬unless they are specifically designed to read the modified format.

A property list is valuable in certain applications because it is human-readable.‭ ‬This has led to the development of specific programs that are used to edit property lists in a way that maintains the structure and makes it easier for the computer user.‭ ‬Certain operating systems even have built-in support for the editing and creation of property lists.

The structure and arguments of a property list that is created with XML can be defined with a block of code known as a document type definition‭ (‬DTD‭)‬.‭ ‬A DTD can help a program that is writing or reading a property list by defining the valid keys that can be used and the allowable ranges of the values assigned.‭ ‬This means that key-value‭ ‬pairs can be checked for correct syntax, and errors can be caught at the time of writing or reading before any invalid data has a chance to cause problems in a running program.

WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Discussion Comments

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.